🇺🇸 GREEN HAM AND EGGS COOKBOOK is a project developed in nodeJS, express, Vanilla js and CSS. It's a recipe website with a store to sells Dr Seuss kitchen related products. The goal is to show the knowledge and skills learned in the Launchbase bootcamp from Rocketseat.
- Visual Studio Code
- Insomnia
- Postbird
- Dynamic pages and content powered by Nunjucks.
- Database powered by Postgresql.
- Being able to add new recipes, update and delete them.
- Search recipes.
- Pagination.
- Upload images to database using Multer.
- Image Gallery with Lightbox feature.
- Complete login system, with administrators and regular users.
- Routes with Validators.
- Nodemailer to reset and recover passwords.
- Users, Recipes and Images seeds available thanks to Faker.js.
- Feedback animations powered by Lottie.
- Store and cart functionalities.
- Invoice and orders details pages for users.
You need the following tools installed in order to run this project: Git, Node.js + NPM, PostgreSQL, and Postbird. Clone the project in your computer and execute these commands:
psql -U <username> -c "CREATE DATABASE hamandeggs"
psql -U <username> -d hamandeggs -f hamandeggs.sql
You can manually import the hamandeggs.sql to Postbird or use the code in database.sql, remember to create a new database with the name hamandeggs.
Important!
You have to alter the db.js, located in src/config to match your PostgreSQL settings.
You also have to alter the mailer.js, located in src/lib to match your Mailtrap settings.
You can find more images examples of the layout inside the "UI design" folder.