Persist data and broadcast update requests.
This app was built for educational purposes, part of my nanodegree program.
This nodejs server is a companion project to the Comperio app. It is a firebase cloud messaging server and handles persistance on mongodb.
- Firebase Cloud Messaging
- Mongoose
- You must have your firebase console and account properly configured for this app to work.
- You must have your fcm key ready to be used on installation step 2.
See the oficial documentation on how to do these things.
- You should also have a mongodb instance running. Paste this on your mongodb CLI if you want some fake data.
- On the root,
npm install
cd api && touch fcm.json
- Paste your fcm key inside this file and save. See the oficial documentation for instructions on how to generate this file.
- On the root
npm start server.js
. GET
andPOST
to http://localhost:3000/v1/schedules. More information on routes here.
AGPL