File tree 4 files changed +17
-4
lines changed
4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1
- # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
-
3
1
# dependencies
4
2
node_modules
5
3
/.pnp
Original file line number Diff line number Diff line change
1
+ web : node --experimental-modules backend/server.js
Original file line number Diff line number Diff line change @@ -324,4 +324,15 @@ $ npm start
324
324
3 . add order delete action to order list
325
325
44 . Deliver Order
326
326
1 . create constant, actions and reducers for deliver order
327
- 2 . add order deliver action to order details screen
327
+ 2 . add order deliver action to order details screen
328
+ 45 . Publish To Heroku
329
+ 1 . Create git repository
330
+ 2 . Create heroku account
331
+ 3 . install Heroku CLI
332
+ 4 . heroku login
333
+ 5 . heroku apps: create <yourname >amazona
334
+ 6 . Edit package.json for build script
335
+ 10 . Create Procfile
336
+ 12 . Create mongodb atlas database
337
+ 19 . Set database connection in heroku env variables
338
+ 20 . Commit and push
Original file line number Diff line number Diff line change 5
5
"description" : " Ecommerce website like amazon" ,
6
6
"main" : " index.js" ,
7
7
"scripts" : {
8
+ "build" : " cd frontend && npm install && npm run build" ,
8
9
"start" : " nodemon --watch backend --exec node --experimental-modules backend/server.js"
9
10
},
10
11
"repository" : {
30
31
"eslint" : " ^7.9.0" ,
31
32
"eslint-plugin-react" : " ^7.21.2" ,
32
33
"nodemon" : " ^2.0.4"
33
- }
34
+ },
35
+ "engines" : {"node" :" 12.4.0" , "npm" : " 6.9.0" }
36
+
34
37
}
You can’t perform that action at this time.
0 commit comments