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

https://github.com/cristianprochnow/quick-node-setup-with-docker

🐳 Quick setup for tests and APIs using Node.js within Docker containers.
https://github.com/cristianprochnow/quick-node-setup-with-docker

docker docker-compose expressjs jest nodejs

Last synced: 3 months ago
JSON representation

🐳 Quick setup for tests and APIs using Node.js within Docker containers.

Awesome Lists containing this project

README

          

# 🐳 Node setup with Docker

[![Author][author-shield]][author-url]

## About

This is a quick project to learn more about the use of containers and `docker-compose.yml`. This project has a quick setup for TDD with unit tests and a brief API to manual connection tests.

### Built with

- [x] Node.js
- [x] Docker
- [x] `docker-compose`
- [x] `express`

## What I learned

- Implement Docker at development environment;
- Use `docker-compose` to run tests;
- Implement a quick RESTful API using containers;
- Know more about some tags of `.yml` file.

## Getting started

### Prerequisites
- [x] [Docker](https://docs.docker.com/engine/install/ubuntu/)
- [x] [`docker-compose`](https://docs.docker.com/compose/install/)

### Running
```docker
git clone https://github.com/cristianprochnow/quick-node-setup-with-docker.git

cd quick-node-setup-with-docker/

docker-compose up
```

[author-shield]: https://img.shields.io/static/v1?label=author&message=Cristian%20Prochnow&color=blue&style=plastic
[author-url]: https://github.com/cristianprochnow