Using html, css and javascript to build a complete website for recipe company named Foodfy.
You need the following tools installed in order to run this project: Git, Node.js, PostgreSQL and Postbird.
- Clone this repository by running:
git clone https://github.com/caiquegiovannini/foodfy.git
; - Enter the folder running through the terminal:
cd foodfy
; - Run
npm install
to install the project dependencies; - Set up database and mailer access with your credentials at
src/config/db.js
and
src/lib/mailer.js
; - Copy all the content found at
database.sql
file and run as a query at postbird to create the database himself; - Populate database with users, chefs and recipes running:
node seed.js
; - Run
npm start
to start the development server.
To get into the administrative area, access http://localhost:3000/admin
.
You will need to copy a user e-mail from the table 'users' and enter the default password '123'.
This project is licensed under the MIT License - see the LICENSE file for details.