Skip to content

pofffff/habit-chrono-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Activities App

Install

npm install

Start server

npm run dev

DB

Migration

npx prisma migrate dev --name [name]

Heroku Deploy

Docker needs to be running for this

heroku login

heroku container:login

heroku container:push web --app choresbackend

heroku container:release web --app choresbackend

Docker build local

docker build . -t choresbackend/cra-docker

JWT

  • Make sure to have the passphrase securely stored.
  • Data in db will be lost if passphrase is lost.

Generate private key

openssl genpkey -algorithm RSA -aes256 -out config/jwt/private.pem

Generate public key

openssl rsa -in config/jwt/private.pem -pubout -outform PEM -out config/jwt/public.pem

Prisma

When changes have been made to prisma schema run: npm run generate:prisma-schema

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published