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

https://github.com/neutonfoo/docker-compose-simple-server

Fullstack server with React and Express with an nginx reverse proxy.
https://github.com/neutonfoo/docker-compose-simple-server

Last synced: 5 months ago
JSON representation

Fullstack server with React and Express with an nginx reverse proxy.

Awesome Lists containing this project

README

          

# Docker Compose Server

- Fullstack server with React and Express with an nginx reverse proxy.
- Express running on port 5000
- Has 2 routes
- React running on port 3000
- React running in development mode, with nodemon and development server
- Class based `` that loads text from backend `componentDidMount` with Axios
- nginx
- Routes all `/api/*` routes to Express
- Rewrites and removes `/api/`
- Routes other urls to React

# Startup

`docker-compose up --build`

http://localhost:8080

# Remove

`docker-compose down`