- install mongodb
- You should use node 6.1.0 to be safe
- run: npm install
- Create folder for MongoDB data: ./data
- Launch mongo server:
- on Windows: mongod --dbpath %cd%\data\db
- on c9.io Linux: mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"
- Load dummy content: npm run loadData
- Build source: npm run webpack
- Start server: npm start
- Go to: http://localhost:3000/
- Enjoy!
- MongoDB with the help of Mongoose keeps data
- NodeJS Express server serves API and index.html file
- ReactJS renders client part and provides interactive experience
- ReactJS for client is build into bundle.js with webpack