This nodeJS server will provide a REST Api that save and provide the recipes from the whole family. MEAN implementation using Passport for authentication
- /signin
- /signup
- /recipe : GET and POST
- /recipe/id : GET, PUT and DELETE
Authentication is using JWT with the library Passport. User are stored in the local database.
Multi platform (Android, PC and iOS)
The Interface is provided by Angular5.
setup on Ubuntu 16.04 curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install nodejs
- enable HTTPS
- hash user and password when transmitting (registration AND log in)
- improve interface design
- authentication is 'only' used for the REST api. User can request all urls without being redirected to the login page if the token is null.