Giter Club home page Giter Club logo

md-shop-backend's Introduction

Medicine Delivery App

How run it

Create .env file in root folder of your app and add DB_HOST=mongodb+srv://user:[email protected]/md-shop?retryWrites=true&w=majority&appName=Cluster0 (NOT COPY, with your login and password)

Run the development server:

npm install
npm run start:dev

Open http://localhost:4000 with your browser to see the result.

Overview:

This web application allows users to order medicine delivery from various drug stores. The application has three complexity levels: base, middle, and advanced. Completing tasks with higher complexity increases the chance of admission to the school.

Description:

The Medicine Delivery app consists of two main pages:

  • The Shops page
  • The Shopping Cart page

Requirements:

  • Important: Instructions on how to run the application are provided in this readme.md file.
  • Source code is uploaded to GitHub/BitBucket/GitLab, and the link is shared.
  • The application is hosted in any suitable manner, and the URL is provided for access.
  • Front-end development can be done in JavaScript with or without any framework, using any preferred design style.
  • Back-end development can be done in NodeJS with or without any framework.
  • Any relational or non-relational database can be used.

Base Level:

Shops Page:

  • Users can choose a drug store and add medicines to the cart (data fetched from the database).

Shopping Cart Page:

  • Users can view all added products, remove some, or change quantities.
  • Users can input email, phone number, and address.
  • Orders are saved in the database upon clicking the "Submit" button.

Middle Level:

Shops Page:

  • All functionalities from the base level.
  • Ability to sort medicines by price and/or date added.
  • Ability to mark medicines as favorites, which are displayed first when sorting.

Shopping Cart Page:

  • All functionalities from the base level.
  • Cart data is saved in local storage.

Advanced Level:

Shops Page:

  • All functionalities from the middle level.

Shopping Cart Page:

  • All functionalities from the middle level.
  • Integration of Google Maps.
  • Users can choose their address using a pin on the map or enter an address manually.
  • Display the shop from where medicines were ordered on the map.
  • *(Extra) Show route from shop to user’s address with approximate time.
  • *(Extra) Implement CAPTCHA validation after clicking the "Create Order" button.

Additional Ideas:

Orders History Page:

  • Users can find their orders using email, phone number, or order ID.

md-shop-backend's People

Contributors

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