You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
# Express & mongoose REST API Boilerplate in ES6 with Code Coverage [](https://github.com/sindresorhus/awesome)
@@ -147,12 +147,24 @@ Get code coverage summary on executing `yarn test`
147
147
148
148
## Docker
149
149
150
+
#### Using Docker Compose for Development
150
151
```sh
151
-
# For Development
152
152
# service restarts on file change
153
-
1. bash bin/development.sh
153
+
bash bin/development.sh
154
154
```
155
155
156
+
#### Building and running without Docker Compose
157
+
```bash
158
+
# To use this option you need to make sure mongodb is listening on port 27017
159
+
160
+
# Build docker
161
+
docker build -t express-mongoose-es6-rest-api .
162
+
163
+
# Run docker
164
+
docker run -p 4040:4040 express-mongoose-es6-rest-api
165
+
```
166
+
167
+
156
168
## A Boilerplate-only Option
157
169
158
170
If you would prefer not to use any of our tooling, delete the following files from the project: `package.json`, `gulpfile.babel.js`, `.eslintrc` and `.travis.yml`. You can now safely use the boilerplate with an alternative build-system or no build-system at all if you choose.
@@ -166,7 +178,7 @@ If you would prefer not to use any of our tooling, delete the following files fr
166
178
Contributions, questions and comments are all welcome and encouraged. For code contributions submit a pull request with unit test.
167
179
168
180
## License
169
-
This project is licensed under the [MIT License](https://github.com/KunalKapadia/express-mongoose-es6-rest-api/blob/master/LICENSE)
181
+
This project is licensed under the [MIT License](https://github.com/kunalkapadia/express-mongoose-es6-rest-api/blob/master/LICENSE)
170
182
171
183
## Support Development
172
184
If this project saved your valuable time in getting your service up, and you feel like buying me coffee, you can donate either at my BTC address: `1LkW5UoERR1jjJsChMheKuo6vn95x2mzWg` or at [](https://www.paypal.me/KunalKapadia)
@@ -175,5 +187,5 @@ Your support is greatly appreciated.
0 commit comments