This full CRUD application is designed to search (fetch) EDAMAM food API where you can choose your favorite recipes and save them in database, after saving recipe user can edit title for recipe or delete from database. Also user will be able to see other users saved recipes and like them.
This application uses JavaScript, Ejs, Bootstrap, Mongoose, Expressjs, Passport.js and Google OAuth 2.0.
- Install Mongodb
- Open in VS Code and run npm i to install dependencies
- install nodemon ( npm i nodemon -g )
- Create and configure .env file. You will need
- GOOGLE_CLIENT_ID (From google.com API)
- GOOGLE_SECRET (From google.com API)
- GOOGLE_CALLBACK (set to http://localhost:3000/oauth2callback)
- SECRET ( Any secret )
- API_ID (From Edamam.com)
- API_KEY (From Edamam.com)
- run nodemon and go to ( localhost:3000 )
- As an user I want to search food recipes.
- As an user I want to be able to save recipes in my account.
- As an user I want to retrive recipes from database and see likes.
- As an user I want to see other users saved recipes.
- As an user I want to like other users recipes.
- As an user I want to delete my saved recipes.
- As an user I want to edit the title of my saved recipes.
- As an user I want to click on recipe and redirect to recipe page.
- As an user I want to see how many calories each recipe has.
- As an user I want to display google user name on top of page when signed in.
- As an user I want to see google profile pictures on all saved recipes.
Feel free to contact me to contribute to this project. My contact information is listed below.