-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove PG and Add Prisma to project
- Loading branch information
Showing
7 changed files
with
376 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.