Skip to content

Commit

Permalink
merging
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayn017 committed Dec 8, 2023
2 parents b84213d + 2310e47 commit 0214046
Show file tree
Hide file tree
Showing 12 changed files with 380 additions and 40 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# DATABASE_URL="file:./dev.db"

# For Postgres
# DATABASE_URL="postgresql://prisma:prisma@localhost:5432/prisma"
DATABASE_URL="postgresql://myuser:mypassword@localhost:5432/mydatabase"
DATABASE_URL="postgresql://prisma:prisma@localhost:5432/prisma"
# DATABASE_URL="postgresql://myuser:mypassword@localhost:5432/mydatabase"

JWT_ACCESS_SECRET="qdsmkjfhsqdlkckdsqjlhfoiuzqhfbdsqkfhlidsqhfb;kdsq"
JWT_REFRESH_SECRET="dqsluhfzencmlkezqupfçheazifbneqmplzfpiçezhfbnqesmlkfkpoesqihfibsqnmopfizêpfhpezauyfraozvbdsqos"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ RUN npx prisma generate

EXPOSE 3001

CMD npm start
CMD npx prisma migrate deploy && npm start
240 changes: 220 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0214046

Please sign in to comment.