Training api project for the familink mobile application.
- Node.js v8+ must be installed
- MongoDB must be install
-
Clone this repository
-
install npm dependencies
npm i
NODE_ENV=dev;
- MongoDB URI
MONGODB_ADDON_URI=mongodb://localhost/familink;
- JWT hash secret (optional)
JWT_SECRET=NikoJWT123456#@TEST
NODE_ENV=dev MONGODB_ADDON_URI=mongodb://localhost/familink JWT_SECRET=@test?- npm start
- Postman file:
./postman/familink-api.postman_collection
- Authentication