Skip to content

Commit 1edd5df

Browse files
committed
fixed Heroku deploy issue and updated to es6 module
1 parent c4f6d39 commit 1edd5df

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

config.env.example

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
// Must be your keys
22

3+
NODE_ENV=
34
PORT=
4-
55
DATABASE=
6-
DATABASE_PASSWORD=
76
DATABASE_LOCAL=
7+
DATABASE_PASSWORD=
8+
9+
10+
JWT_SECRET=
11+
JWT_EXPIRES_IN=
12+
JWT_COOKIE_EXPIRES_IN=
813

9-
EMAIL_FROM=
1014
EMAIL_USERNAME=
1115
EMAIL_PASSWORD=
1216
EMAIL_HOST=
1317
EMAIL_PORT=
1418

15-
JWT_COOKIE_EXPIRES_IN=
16-
JWT_EXPIRES_IN=
17-
JWT_SECRET=
18-
19-
NODE_ENV=
19+
EMAIL_FROM=
2020

21-
SENDGRID_PASSWORD=
2221
SENDGRID_USERNAME=
22+
SENDGRID_PASSWORD=
2323

2424
STRIPE_SECRET_KEY=
2525
STRIPE_WEBHOOK_SECRET=

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"name": "node-natours",
33
"version": "1.0.0",
4+
"author": "Lakshman Gope",
45
"description": "A mockup landing page for a travel agency startup.",
56
"main": "app.js",
67
"type": "module",
8+
"license": "ISC",
9+
"homepage": "https://github.com/lgope/Natours#readme",
710
"scripts": {
811
"start": "node server.js",
912
"dev": "nodemon server.js",
@@ -16,12 +19,9 @@
1619
"type": "git",
1720
"url": "git+https://github.com/lgope/Natours.git"
1821
},
19-
"author": "Lakshman Gope",
20-
"license": "ISC",
2122
"bugs": {
2223
"url": "https://github.com/lgope/Natours/issues"
2324
},
24-
"homepage": "https://github.com/lgope/Natours#readme",
2525
"dependencies": {
2626
"@babel/polyfill": "^7.7.0",
2727
"a": "^3.0.1",
@@ -67,4 +67,4 @@
6767
"engines": {
6868
"node": "^10"
6969
}
70-
}
70+
}

0 commit comments

Comments
 (0)