Skip to content

alee12131415/jot-down

Repository files navigation

Jot Down

A Note taking app

https://jot-test.herokuapp.com/


Build Locally

create config.js in root project directory

exports.database = {
  connectionString: POSTGRES URL,
  ssl: TRUE IF USING HEROKU POSTGRES
}

exports.jwt_key = SECRET

Then run

npm install
npm run dev:front

In Production

Add these environment variables

DATABASE_URL=POSTGRES URL
JWT_SECRET=SECRET

Then run

npm install
npm run webpack:prod
npm prune --production
npm run prod

Heroku

Attach Heroku Postgres to app

Add this config variable

JWT_SECRET = SECRET

Then build with Node Buildpack

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages