Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yogeshlonkar/nodeapp
NodeJS sample app with containerization
https://github.com/yogeshlonkar/nodeapp
express jsonschema nodejs
Last synced: 9 days ago
JSON representation
NodeJS sample app with containerization
- Host: GitHub
- URL: https://github.com/yogeshlonkar/nodeapp
- Owner: yogeshlonkar
- License: mit
- Created: 2018-08-14T07:16:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T05:35:47.000Z (over 6 years ago)
- Last Synced: 2024-11-22T23:11:27.415Z (2 months ago)
- Topics: express, jsonschema, nodejs
- Language: JavaScript
- Size: 631 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nodeapp
NodeJS sample app with containerization. Express is used for app server. Currently for [CRUD](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) Users, Books section is available. `node-cache` is used for storing added entities as temporary work around for persistance database.## Build
For development
```shell
npm run dev
```## Docker repository
[`ylonkar/nodeapp`](https://hub.docker.com/r/ylonkar/nodeapp/)[Dockerfile](https://github.com/yogeshlonkar/nodeapp/blob/master/Dockerfile)
### Tags
- `latest`
- `v1.0.0`
- `2.0.0`## Run
Using docker
```shell
docker run -d -p 80:80 ylonkar/nodeapp
```
Open http://localhostFrom source
```shell
npm run build && npm start
```
Open http://localhost:8080