Giter Club home page Giter Club logo

foodfy's Introduction

Foodfy

➡ī¸ ABOUT THE PROJECT

This project was developed for the final challenge of the Rocketseat Launchstore course. It is a website where users who register and become administrator can create, change and delete recipes, as well as assign them to a specific chef. They can also create, change and delete profiles of such chefs. In addition, they can invite new users, who can be administrators or not.

Users who are not administrators will only have access to the list and profiles of chefs, list and details of recipes. They will also be able to create, change and delete only the recipes created by each of them.

recipes list

Therefore, access control for users and administrators is done through a login system.

Users without registration can only view the list and details of recipes and chefs. However, if they wanted to create a recipe, they will be redirected to the login page.

There are two buttons on the login page:

'Register': users will be redirected to a page to fill out a form and create a password for registration;

'Forgot password?': users will be redirected to a page where they can enter an email, which it will be sent the token to create a new password.

login

Users who are administrators can invite friends to use the site. For inviting, they only need to enter the guest's name and email. The guest will receive an invitation via email with a temporary password to access the system.

Only administrators can change or delete other users, including whether or not they can be administrators as well. Administrators can change their profiles, but to delete their account, they must send an email to the website company.

Another restriction is that only chefs without assigned recipes can be deleted.

delete restriction

The website was developed using responsive design to be accessible on all types of devices.

responsive design

đŸ’ģ TECHNOLOGIES USED FOR THIS PROJECT:

ℹī¸ HOW TO RUN THE APPLICATION

To clone and run this application, you'll need Git, NodeJS, Postgres, Postbird and Npm.

You just need to run the following commands:

# Clone this repository
$ git clone https://github.com/helcioItiyama/Foodfy-Final-Project.git

# Go into the repository
$ cd Foodfy-Final-Project

# Create and Set the database
$ psql -U <username> -c "CREATE DATABASE foodfy"
$ psql -U <username> -d foodfy -f foodfy.sql

# Install dependencies
$ npm install

# Run the app
$ npm start

foodfy's People

Contributors

helcioitiyama avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.