Skip to content

Commit

Permalink
feat: ✨ add .env.example and remove it from gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0nia committed May 23, 2024
1 parent 58b407c commit d4a270a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#-----------------------------------------------------------------------------------------
# Node.js
#-----------------------------------------------------------------------------------------
NODE_ENV=development

#-----------------------------------------------------------------------------------------
# PostgresSQL database.
#-----------------------------------------------------------------------------------------
DATABASE_DIALECT=postgres
DATABASE_HOST=localhost
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_DATABASE=anteaterapi
DATABASE_PORT=5432
DATABASE_URL=${DATABASE_DIALECT}://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_DATABASE}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ yarn-error.log*

# env
.env*
!.env.example

# turbo
.turbo
Expand Down

0 comments on commit d4a270a

Please sign in to comment.