Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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://localhost

From source
```shell
npm run build && npm start
```
Open http://localhost:8080