React, Node, Express, and MongoDB boilerplate to get started with projects.
This boilerplate has taken inspiration from https://github.com/StephenGrider/FullstackReactCode and uses create-react-app to set up the client project.
The client side set up consists of React, Redux, and React Router.
The server side set up consists of Node.js, Express and Mongoose as an ODM for MongoDB.
The app assumes you have MongoDB running locally on port 27017. If not, you can include the uri to your MongoDB instance in server/config/dev.js.
- cd into the server directory
- run npm install
- run npm run dev
- navigate to the client directory
- run npm install
- run npm start
- open http://localhost:3000 in your browser
- navigate to the client directory
- run npm install
- run npm run build
- navigate to the server directory
- run npm install
- run npm start
- open http://localhost:8080 in your browser