๐ฝ๏ธ Learn how to make the best recipes created by professionals from around the world!
Foodfy is a complete web application for recipe management, developed on the Rocketseat's LaunchBase Bootcamp.
Some of the technologies and tools used in the project:
- HTML
- CSS
- JavaScript
- Nunjucks
- NodeJS
- Nodemailer
- Express
- Express Session
- Multer
- PostgreSQL
- BcryptJS
- Faker.js
You need to install Node and Postgres.
Follow the steps bellow:
# Open a terminal and copy this repository with the command
$ git clone https://github.com/Mateussv/Foodfy.git.
# Enter the directory with
$ cd foodfy
# Install dependencies
$ npm install
# Create the database and tables using the commands
# included in the "database.sql" file
# Database connection:
# Open and edit the "db.js" file inside the "src/config" folder
# with your Postgres user and password.
# Populate the database using the file "seed.js":
$ node seed.js
# Run the application:
$ npm start
Important: Do not delete or change the placeholder image directly from the public/images' folder, as the revenues and chefs generated by
seed.js` share these files with each other. However, you can delete them from the administrative area of the site.
Select an email from the users table, access the login screen and enter using it with the password "1111" (default password).
Note: administrator users have the "ADMIN" badge in their header:
To use these features, edit the mailer.js file inside the scr/lib folder with your credentials.
This project is under the MIT license.