Skip to content

About

🐳 A playground for Docker with Express and MongoDB.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

docker-express-mongodb

Generated by OSS Project Generator.

License

A playground for Docker with Express and MongoDB.

Development

  • Cloning the repo
$ git clone https://github.com/robertoachar/docker-express-mongodb.git
  • Installing dependencies
$ npm install
  • Running scripts
Action Usage
Starting development mode npm start
Linting code npm run lint

Docker

  • Building an image
$ docker-compose build
  • Running a container
$ docker-compose up
  • Stopping a container
$ docker-compose down

Rest API

User Service

Method Endpoint Description
GET /api/users Retrieves a list of users
POST /api/users Retrieves a specific user
GET /api/users/:id Creates a new user
PUT /api/users/:id Updates user
DELETE /api/users/:id Deletes user

Postman

  • postman/docker-express-mongo.postman.json

Author

Roberto Achar

License

MIT

About

🐳 A playground for Docker with Express and MongoDB.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages