-
Foodfy is a project developed on RocketSeat Bootcamp.
-
The project geared towards culinary in general. A recipe website made by users.
- JavaScript (NodeJS)
- SQL Server (PostgresSQL)
- Framework Express
- Nunjucks (Nunjucks)
- JavaScript
- HTML
- CSS3
-
Download the project within the command:
git clone()
Or
- download the zip. file
-
On terminal execute the command
npm install
in order to install the dependencies for this project. -
Use the postgres to setup the database on the file src/config/db.js
-
Execute the commands on database.sql in order to create the database tables.
-
After that execute the file seed.js on the terminal with the command (
node seed.js
) in order to populate data into the database in order to test the aplication. -
On terminal execute
npm start
for initialize the application. Open the browser on (http://localhost:5000/)
In order to use the email service you have to configure the mailtrap on the src/lib/mailer.js file.
All password are ('123') by default, get the email from the table users(from database) and go to the login route on (/users/login
)
Consider to sometimes reset the datavase within the commands on the file database.sql(--restart to run seed.js
tag).