Code Monkey home page Code Monkey logo

easyshop's Introduction

Easyshop

Easily shop for groceries during coronavirus pandmic. we try to create a web app that helps customers shop safely for groceries

https://miro.com/app/board/o9J_kog83XA=/

https://docs.google.com/document/d/14A5E0IkK1xWO8Cd8_pOOewMHqO49RvZYx4J8LMWMZZ8/edit

https://docs.google.com/spreadsheets/d/12GEjT4T7DFxO5GngETmukfVs-ImZ1GtC2f5oQX6SgKU/edit#gid=0

API Testing Link https://www.getpostman.com/collections/c6da3b13ae81ffccd11a

Heroku link : https://easyshopindia.herokuapp.com/

Project Structure

root - 
    models -
        all the database models/schema
    routes - 
        all the backend routes (ensure not colliding with react-routes)
    helper -
        helpers for backend routes (JWT\others)
    client - 
        (Has React Files)
        public - 
            has public files (index.html n stuff)
        src - 
            (has source files)
            components - 
                (add react components in this folder)
    .env ( add all the config info in this file )

Note

Followed variable naming convention - Camel Case
    e.g hiItsAVariableGetThisPattern
    For .env ( environment constant convention )
        e.g HI_ITS_A_VARIABLE

"routes" folder will have index.js in which we will import all other route files.
    i.e Basic request flow, server.js -> routes/index.js -> routes/index.js/${respectiveFile}.js

Status Codes

400 - Bad Request ( Request has unsatisfied params )
401 - Unauthorized ( Failed JWT verification )
403 - Forbidden Access ( no authorization headers)
503 - MongoDB err

Note

Test Email : [email protected]
Test Pass : lol1

easyshop's People

Contributors

sudonims avatar deepgolani4 avatar laksh-gupta 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.