This project is the API for donation tracker which is an ios app managing item donation at different location.
- npm - the
package.json
file lists all of the npm dependencies
- ES6 support via babel
- Express is Node.js web application framework via express
- Passport authentication for Node.js via passport
- Socket.IO enables real-time bidirectional event-based communication via socket.io
- Mongoose is a MongoDB object modeling tool via mongoose
- Body Parsing via body-parser
- Go to
src/config/index.js
- change port to
"port": 3005
- change mongoUrl to
"mongoUrl": "mongodb://localhost:27017/chat-api"
# Install dependencies
npm install
# Start local development live-reload server port 3005:
npm run dev
# Requests made in the form http://localhost:3005/v1/endpoint
# To build ES6 code
npm run build
- Go to
src/config/index.js
- change port to
"port": process.env.PORT
- change mongoUrl to
"mongoUrl": process.env.MONGODB_URI