Code Monkey home page Code Monkey logo

foodexplorer-backend's Introduction

Status: Finished

About โ€ข Tech Stack โ€ข License

foodexplorer


๐Ÿ’ป About

API Restful - The application that we will develop is a digital menu for a fictional restaurant, known as foodExplorer.

In this challenge, the following topics were addressed:

  • Express;
  • Routes and http method;
  • Params;
  • Controllers;
  • Middleware;
  • SQL;
  • Migrations;
  • Query Builder;
  • Knex;
  • JWT;
  • Disk Storage;
  • Cors;

โš™๏ธ Features

  • A structured project, with a good organization of folders, division of components in the front-end, etc.
  • A README.md file with specifications on how to run the project in a dev environment.
  • Users must authenticate themselves to enter the application through the login screen, you can apply what you learned in JWT authentication classes. Authentication must be validated with a password.
  • The admin will upload images to register the dishes.
  • Finally, deploy your application.
  • Give your functions and variables meaningful names: work with Clean Code concepts a bit.
  • The admin, restaurant and users data will be stored in a database.
  • Possibility to search by dish name, ingredients or favorite dish
  • It is essential that your interface consumes its own API.
  • Interesting to make the application responsive: use the concept of Mobile First that was learned in class.
  • It's up to you where to apply animations, transitions, and transformations.
  • It meets the model proposed in Figma and contains elements indicative of action and state. optionals
  • The user can add items to the cart by clicking the add button. The amount is controlled by the โ€œ-โ€ and โ€œ+โ€ buttons;
  • By clicking on the my order button, the user will be redirected to a screen where he will see his order, the sum and the payment methods;
  • The user will be able to delete a dish from the cart and the total amount of the order should be updated automatically;
  • The user can mark a dish as a favorite, just click on the heart that appears next to each one;
  • The admin will view and control the status of each order, through a select field. Orders will appear in a table when you click Orders;

Deploy

Food Explorer

Admin Access (user: [email protected] / password: 123)


๐Ÿš€ How it works

This project is divided into three parts:

  1. Backend (food-explorer-backend folder)
  2. Frontend (food-explorer-frontend folder)

Pre-requisites

Before you begin, you will need to have the following tools installed on your machine: [Git] (https://git-scm.com), [Node.js] (https://nodejs.org/en/). In addition, it is good to have an editor to work with the code like [VSCode] (https://code.visualstudio.com/)

๐ŸŽฒ Running the Server (Backend)

# Clone this repository
$ git clone [email protected]:Rrhapsod/FoodExplorer-backend.git

# Install the dependencies
$ npm install

# Run the application in development mode
$ npm run dev

# The Server will start at port: 3333 - go to http://localhost:3333

๐Ÿ›  Tech Stack

The following tools were used in the construction of the project:


๐Ÿ’ป Project

The application that we will develop is a digital menu for a fictional restaurant, known as foodExplorer.

๐Ÿ“ License

This project is under the license MIT.


foodexplorer-backend's People

Contributors

rrhapsod 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.