-
-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathenv.example.js
33 lines (27 loc) · 1.4 KB
/
env.example.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Github Signups (NECESSARY)
//
// To create these values, go to https://github.com/settings/developers and
// 1. click "New Oauth App"
// 2. fill in the values with anything you like, but, importantly:
// Homepage URL: http://localhost:3000
// Authorization callback URL: http://localhost:3000/api/auth/github/callback
// 3. Copy "Client ID" (this will give you 'GITHUB_OAUTH_ID') and "Generate a new client secret" (this will give you 'GITHUB_OAUTH_SECRET').
process.env['GITHUB_OAUTH_ID'] = ''; // Required for local development
process.env['GITHUB_OAUTH_SECRET'] = ''; // Required for local development
// Database (NECESSARY)
//
// To create these values, follow the steps for creating your postgres database from the Readme.md.
process.env['DB_USER'] = 'postgres'; // Required for local development
process.env['DB_PASSWORD'] = 'postgres'; // Required for local development
// Google Signups
process.env['GOOGLE_OAUTH_ID'] = '';
process.env['GOOGLE_OAUTH_SECRET'] = '';
process.env['GOOGLE_OAUTH_CALLBACK'] = 'http://localhost:3000/api/auth/google/callback';
// For image uploads (we upload images to Amazon S3)
process.env['AWS_ACCESS_KEY_ID'] = '';
process.env['AWS_SECRET_ACCESS_KEY'] = '';
process.env['AWS_REGION'] = '';
process.env['AWS_BUCKET_NAME'] = '';
process.env['CONTACT_EMAIL'] = '[email protected]';
process.env['JWT_SECRET'] = 'can_be_anything';
process.env['SENDGRID_API_KEY'] = '';