Skip to content

Commit 19eff7f

Browse files
authored
Merge pull request #2 from padgad336/new-readme
🐛 FIX: readme
2 parents 62ef9cb + 09356e4 commit 19eff7f

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

README.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
2628
PORT=8940
2729
//config link url mongoDB
2830
MONGO_URI=mongodb+srv://
29-
//config redis HOST & PORT
30-
REDIS_HOST=localhost
31-
REDIS_PORT=6379
32-
3331
JWT_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+
#### .

0 commit comments

Comments
 (0)