Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/knaopel/docker-frontend-backend-db

Sample todo app running on docker Compose with Db container, api container, and web-frontend container
https://github.com/knaopel/docker-frontend-backend-db

alpine axios compose docker docker-compose express mongodb mongoose nodejs react three-tier-architecture

Last synced: about 7 hours ago
JSON representation

Sample todo app running on docker Compose with Db container, api container, and web-frontend container

Awesome Lists containing this project

README

        

A demonstration of Docker to implement a simple 3 tier architecture

* frontend will be able to access the mid-tier
* mid-tier will be able to access the db

In order to run this in docker, simply type ```docker-compose up``` at the command prompt. Docker will then create the [MongoDB](https://www.mongodb.com/) from the stock [mongo](https://hub.docker.com/_/mongo) image. The api uses [nodejs](https://nodejs.org/) with [express](http://expressjs.com/) and is built from a [node:alpine](https://hub.docker.com/_/node) image. The front end uses [ReactJS](https://reactjs.org/) and built from a [node:alpine](https://hub.docker.com/_/node) image.