React Express Boilerplate
React, expressjs and mongo all together and ready to deploy to Heroku. Easy, Fast and Clean.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
- Mongodb
- Nodejs
Installing
Clone or download the repository
git clone https://github.com/German91/react-express-fullstack
Install Dependencies
npm install
Run Project
If you go to http://localhost:3000 you will have your application running with hot realoading, also you can see your express API working on http://localhost:8000/api/tests
This way is just for development, for production you don't have to worry about it, you will have both working in the same domain.
npm start
Deployment
The project is ready to work on heroku by default so just create your heroku app and use the follow command below build the app for production.
npm build
Built With
- ReactJs
- MongoDb
- ExpressJs
Authors
- Germán Hernández del Rosario
License
This project is licensed under the MIT License - see the LICENSE.md file for details