peco8 / spa-nginx

Code for https://medium.com/p/1546a80b5fef/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NGINX Single Page Application (SPA)

Serving static sites, locally and in production, can be done with tremendous flexibility merely using docker-compose and nginx. This is a template repository that lays the ground work for such a project.

Getting Started with yarn

  1. Clone this repository.
  2. Run yarn install
  3. yarn start

Then, visit http://localhost:7000 in the browser to see the running application, which features example code using advanced React without JSX.

yarn install
yarn start

Starting without yarn

docker-compose -f docker-compose.yaml up

About

Code for https://medium.com/p/1546a80b5fef/

License:Apache License 2.0


Languages

Language:JavaScript 62.8%Language:HTML 26.9%Language:CSS 10.3%