Skip to content
powerofsoulPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

161 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentations

Developer guide

  • install aws cli
  • create new user on aws web interface
  • run aws configure
  • create a new file .env.local
  • copy content of .env.defaults.
  • you either run npm run docker-db to start a local db or connect to dev rds db. If you plan to use docker db, you need to deploy the database migration using DATABASE_URL='mysql://local:local@localhost:3306/local' prisma migrate deploy
  • npm run dev
  • enjoy

Policy roles required

  • ses
  • dynamo db
  • s3

FAQ

Q: My models types changes are not visible in typescript

A: Run prisma generate


Q: Why am I getting prisma not found?

A You need to install it globally on your dev machine. Run npm i -g prisma


Q: How do I deploy my changes to dev db? How do I create a migration?

A: DATABASE_URL=%%MYSQL_URL%% prisma dev


Q: Should I commit migration?

A: Yes, we gonna use the committed migration to apply on prod. Until the initial release we can overwrite older migrations.


Q: Should I commit package-lock.json?

A: YES

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages