Desafio-Final-Bootcamp-LaunchBase
Lastest Version of Foodfy web app
Built with
HTML, CSS, JS, Node.js, PostgresSQL
Dependencies
- Nodejs-crypto
- bcrypt
- multer
- nunjucks
- express
- express-session
- connect-pg-simple
- nodemailer
About Foodfy
Foodfy has been created as a challenge of knowledge measurement in Rocketseat Launchbase course.
Page for demonstration only
Most of the contents are made up.
RUN: DEVELOPER MODE
#INSTALL NODE.JS
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
# RUN THE APPLICATION WITH:
npm install
# THEN
npm dev
Get Started
1. Start by cloning the repository
2. Have already installed [Postgresql](https://www.postgresql.org/) on your machine
3. Inside your **TERMINAL** Browse inside the directory you have just cloned
4. Go to src/config/db.js
Then insert your postgres information on:
user: 'postgresUser',
password: 'postgresPassword',
host: 'localhost',
port: 5432,
database: 'foodfydb'
5. Configure Mailer [mailtrap.io](https://mailtrap.io/)
Create a box mail and copy the smpt Credentials
Then past in src/lib/mailer.js
6. Replace **images folder content** by the one at **imageBK**
7. Get back to root directory you have cloned
Then **RUN** node seed.js to obtain your database
8. **RUN** npm dev or yarn dev **this command may variable according to your package manager**
Guide
Only admin can create your login account
|===========================================================================================|
User menu
|===========================================================================================|
Administration area | Create user option allowed for admin only
|===========================================================================================|
mailtrap.io
Password Recover | use|===========================================================================================|
Messages
|===========================================================================================|
Creation
Douglas Tesch beginner developer
Feel free to make changes and of course, enjoy it.