alejo4373 / Production-Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Production App Server

Express server for the management of Todos and Journal Entries for my personal project called Production App

Local Setup

  1. git clone this repo
  2. npm install
  3. Make sure the environment variables are set and a database is available
  4. Create and structure the database with createdb production_dev_db && npm run dbm:up
  5. npm start

Environment Variables

  • SESSION_SECRET a string for the signing of cookies

Deployment

This app is deployed to Heroku. The following environment variables must be available

DATABASE_URL
PGSSLMODE=no-verify # heroku only (as far as I know)
REACT_APP_RECAPTCHA_SITE_KEY
RECAPTCHA_SECRET
SESSION_SECRET

About


Languages

Language:JavaScript 99.0%Language:PLpgSQL 0.6%Language:Pug 0.4%