Giter Site home page Giter Site logo

violet-coffee-shop-backend's Introduction

Violet Coffee Shop - Backend


VioletCoffeeShop

express sequelize mysql jsonwebtoken bcrypt cors multer dayjs midtrans-client nodemailer



Violet coffee shop is a web application that can make it easier for customer to order food and beverages from coffee shop. Customer can simply register, login, see products, order, see order history, edit their profile, etc.

Contents

API Endpoint

Public

Login

Endpoint: /auth/login

  • Body
    KEY TYPEDATA
    Email string
    Password string

Register

Endpoint: /auth/signup

  • Body
    KEY TYPEDATA
    Email string
    Password string
    Phone string

Search Product

Endpoint: /product

  • Query optional
    KEY TYPEDATA
    search string
    sortBy string
    sort string
    code_promo string
    per_page number
    page number
    category string

Forgot Password

Product's detail

Edit profile

Customer:

  • Order
  • Order history

Admin:

  • Add product
  • Edit product
  • Add promo
  • Edit promo
  • Dashboard Admin

How to Run the Application

1. Clone this repository

Clone this repository by run the following code:

$ git clone <this-repo-url>

2. Install dependency packages

Install dependency packages by run the following code inside project folder:

$ npm install

3. Run npm start

Runs the app in the development mode.
Open http://localhost:8000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

Postman Documentation

Postman documentation link

Deployment

Heroku deploy link

Related Projects

Violet Coffee Shop - Frontend

Contributors

This project created with ReactJS by Achmad Anshori, Fahrul Muhammad, Tri Sumanzaya, Fajar Pratama Vhishinggah, Hazpi Nurafgan.

violet-coffee-shop-backend's People

Contributors

trisumanzaya93 avatar hazgnxvi avatar anshoriacc avatar

Stargazers

 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.