File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change 11# Notification Service
2- <h2 >NodeJS Typescript PM2</h2 >
2+ <h2 >NODEJS Typescript Graphql APOLLO V4 PM2 Boilerplate </h2 >
33
44 ## Installation
55
@@ -12,8 +12,10 @@ Use the package manager [yarn](https://yarnpkg.com/getting-started/install) to i
1212 #### dev
1313``` bash
1414# start develop
15- yarn develop
15+ yarn dev
16+
1617```
18+ - to run the project, server will run on ` http://localhost:8000/graphql `
1719 #### production
1820``` bash
1921# start production
@@ -26,22 +28,7 @@ Use the package manager [yarn](https://yarnpkg.com/getting-started/install) to i
2628PORT=8940
2729//config link url mongoDB
2830MONGO_URI=mongodb+srv://
29- //config redis HOST & PORT
30- REDIS_HOST=localhost
31- REDIS_PORT=6379
32-
3331JWT_SECRET=localsecret
34- ```
35- ## build
36- ``` bash
37- //build image
38- docker-compose --build
3932
40- //save image docker to tar
41- docker save -o d_notice_api.tar d_notice_api
42- //load
43- docker load --input d_notice_api.tar
44- //run
45- docker run --restart always -p 8070:8070 --env-file .env.prod --name back_api d_notice_api
46-
47- ```
33+ # # Config
34+ # ### .
You can’t perform that action at this time.
0 commit comments