-
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.
Merge pull request #2 from tazo90/feature/authentication
Feature/authentication
- Loading branch information
Showing
31 changed files
with
3,361 additions
and
1,085 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,5 +1,22 @@ | ||
NODE_ENV=development | ||
// IP_ADDRESS=192.168.0.203 | ||
IP_ADDRESS=localhost | ||
NEXT_PUBLIC_API_ENDPOINT=http://localhost:8000/api/v1/ | ||
NEXT_PUBLIC_MOCK_API_ENDPOINT=http://localhost:3000/api | ||
# NEXT_PUBLIC_API_ENDPOINT=http://localhost:8000/api/v1/ | ||
# NEXT_PUBLIC_MOCK_API_ENDPOINT=http://localhost:3000/api | ||
|
||
# - SHARED ************************************************************************************************** | ||
NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000' | ||
# Change to 'http://localhost:3001' if running the website simultaneously | ||
NEXT_PUBLIC_WEBSITE_URL='http://localhost:3000' | ||
|
||
# - NEXTAUTH | ||
# Required for Vercel hosting - set NEXTAUTH_URL to equal your BASE_URL | ||
NEXTAUTH_URL='http://localhost:3000' | ||
JWT_SECRET='secret' | ||
# Used for cross-domain cookie authentication | ||
# NEXTAUTH_COOKIE_DOMAIN=.example.com | ||
|
||
POSTGRES_USER=seye | ||
POSTGRES_PASSWORD=seye | ||
POSTGRES_DB=seyedb | ||
DATABASE_URL=postgresql://seye:seye@localhost:5432/seyedb?schema=public&sslmode=prefer&connect_timeout=300 |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: "3.8" | ||
services: | ||
postgres: | ||
image: postgres:14 | ||
restart: always | ||
env_file: | ||
- .env | ||
volumes: | ||
- postgres:/var/lib/postgresql/data | ||
ports: | ||
- "5432:5432" | ||
volumes: | ||
postgres: |
Oops, something went wrong.