Skip to content

Commit

Permalink
chore: remove PG and Add Prisma to project
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhiz committed Apr 23, 2023
1 parent 0934f2a commit 4bed624
Show file tree
Hide file tree
Showing 7 changed files with 376 additions and 386 deletions.
18 changes: 9 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# PostgreSQL database settings
POSTGRES_USERNAME=postgres # username for the database
POSTGRES_PASSWORD=top_secret # password for the database user
POSTGRES_HOST=localhost # address of the database server
POSTGRES_PORT=5432 # database connection port
POSTGRES_DATABASE= # name of the database
POSTGRES_USERNAME=postgres
POSTGRES_PASSWORD=top_secret
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DATABASE=

# Application settings
JWT_SECRET=top_secret # secret key used to sign JWT tokens
PORT=5000 # port the application will run on
NODE_ENV=development # application mode (development, production, etc.)
JWT_SECRET=top_secret
PORT=5000


# PostgreSQL database connection URL
DATABASE_URL=postgres://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DATABASE}
DATABASE_URL=postgres://${POSTGRES_USERNAME}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DATABASE}?schema=public
Loading

0 comments on commit 4bed624

Please sign in to comment.