File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ Create a `.env` file based on the following template:
9191# Database Configuration
9292DATABASE_URL="postgresql://postgres:password@localhost:5432/bottlecrm?schema=public"
9393
94+ # JWT Secret (required for authentication)
95+ # Generate a secure secret using openssl:
96+ # openssl rand -base64 32
97+ JWT_SECRET="<your-generated-secret>"
98+
9499# Google OAuth (Optional)
95100GOOGLE_CLIENT_ID=""
96101GOOGLE_CLIENT_SECRET=""
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ dotenv.config();
2020
2121const app = express ( ) ;
2222const logger = createLogger ( ) ;
23- const PORT = process . env . API_PORT || 3001 ;
23+ const PORT = process . env . PORT || 3001 ;
2424
2525// Trust proxy setting for rate limiting
2626app . set ( 'trust proxy' , 1 ) ;
You can’t perform that action at this time.
0 commit comments