Skip to content

applification/react-redux-express-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create React App + React Router + Express + Docker

tl;dr

This is a quick starter repo for new React projects. It's mainly for myself but if you find it useful please use / fork as you wish.

This starter makes use of:

Development

Clone this repository:

git clone https://github.com/applification/react-redux-express-docker.git
cd react-redux-express-docker

Install npm dependencies:

npm install

Start the project at http://localhost:3000.

npm start

Running with Docker

docker build -t react-starter .
docker run -p 80:9000 --name react-starter-instance react-starter

Testing

npm test

help

Create React App

This starter is simply the out of the box Create React App with a few of the key additions you will need to have a full functioning app running on a server.

Create React App ReadMe is very comprehensive, use that for help on how to run and tweak things under the hood.

React Router v3 is used for client side routing.

ExpressJS is used to put the Production Build from Create React App into a server environment for the server side routing.

Docker is used for deployment to a wide variety of web hosts.

Releases

No releases published

Packages

No packages published