First, ensure you have node and mongo installed on your system.
# Install dependencies
npm install
# Run it
npm start
# Try it!
curl -H "Content-Type: application/json" -X POST -d '{"username":"ben", "email": "example@gmail.com", "password":"password1"}' http://localhost:8080/users
npm start
- Start live-reloading development servernpm test
- Run test suitenpm run test:watch
- Run test suite with auto-reloadingnpm run coverage
- Generate test coveragenpm run build
- Generate production ready application in./build