You can do any CRUD (create, read, update, delete) operation. The app follows the MVC schema to have a cleaner structure
Signup or login to enter the app
Auth system available, realized with passport module and strategies
The only thing you need is an account on MongoDB Atlas (it's free) and a username and password to start. To sign in go here https://account.mongodb.com/account/login
Once you have your credentials on MongoDB, create a new .env file in the same folder of index.js with this string
ricette_uri = "mongodb+srv://USERNAME:PASSWORD@clusternodejs.hbaowix.mongodb.net/DB_NAME?retryWrites=true&w=majority"
and write your user name and password and the db name in it
There's no need to create a collection, the schema model creates that for you to avoid errors.
The front end is rendered with the template engine EJS
The views folder contains pages and partials to create the site and to manage functions and parameters
Added a login page. You can view the homepage and all of the recipes as a guest but to modify or insert e new one you have to sign in.