Skip to content

Commit

Permalink
feat: connect db & configs env
Browse files Browse the repository at this point in the history
  • Loading branch information
jayden-dang committed Jun 21, 2024
1 parent f22dbd3 commit 012998e
Show file tree
Hide file tree
Showing 9 changed files with 1,594 additions and 88 deletions.
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ENV="dev"

# Development Environment
APP.DEVWEB.DNS="postgres://postgres:password@localhost:5432/postgres"
APP.DEVWEB.MAX_CONNS=5

# Production Environment
APP.WEB.DNS=""
APP.WEB.MAX_CONNS=5
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/target
*.DS_Store
/.env
Loading

0 comments on commit 012998e

Please sign in to comment.