Project template with React and Express. Ready to start writing components!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Node 6+
- Clone this repo
git clone https://github.com/romariolopezc/react-express-starter.git
- Remove .git
rm -r .git/
- Install dependencies
npm install
- Run development server
npm run start:dev
- Go to localhost:8080 and you should see
Hello World!!
For tests we use Jest.
To watch tests and files for changes.
npm run test:watch
To run tests with coverage.
npm run test
We can build this project into a html and js bundles. Use npm run build
to get the bundles ready for production.
- Development Server with Hot Module Replacement and React Hot Loader
- Babel with transform class properties and transform object spread
- Eslint linter with Airbnb style guilde
- Easier Webpack configuration using a common config
- Romario Lopez - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- This template is a recopilation of several sources on how to setup react and express.