Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month ago
JSON representation
Sample todo app running on docker Compose with Db container, api container, and web-frontend container
- Host: GitHub
- URL: https://github.com/knaopel/docker-frontend-backend-db
- Owner: knaopel
- Created: 2020-09-22T22:45:50.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-16T16:26:40.000Z (10 months ago)
- Last Synced: 2024-08-01T22:02:05.654Z (5 months ago)
- Topics: alpine, axios, compose, docker, docker-compose, express, mongodb, mongoose, nodejs, react, three-tier-architecture
- Language: JavaScript
- Homepage:
- Size: 599 KB
- Stars: 53
- Watchers: 4
- Forks: 132
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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 dbIn 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.