Code Monkey home page Code Monkey logo

bond-pharmacy's Introduction

Bond Virtual Clinic

A virtual clinic and pharmacy targeted to be a website that helps connect between specialized doctors and patients.

Tech Stack

Client: React, Redux toolkit, Material-UI, Vite.

Server: Node, Express.

Database: MongoDB.

Installation

Clone the repo by using this command in the cmd but make sure you have GitHub CLI installed first

 gh repo clone advanced-computer-lab-2023/Bond-Clinic

Or

Install it with GitHub Desktop

Then after cloning, open a terminal on the project’s directory and type this command to create a .env file.

 cd backend
echo. > .env

Then, add the following MongoDB URI into the .env file.

MONGO_URI=mongodb+srv://soubky10:[email protected]/?retryWrites=true&w=majority

Then, while you are in the backend directory you can install the node modules then run the server the default port is 4000 you can change it by adding your preferred port in the .env file.

npm i
npm run dev

You should see this message “Connected to MongoDB and running on port 4000”.

Now, on another terminal we want to run the frontend so we need to open the project’s directory and type the following commands.

cd frontend
npm i
npm run dev

It should run and show that it is running on localhost:5173.

Screenshots

App Screenshot

Features

  • Light/dark mode toggle
  • Live previews
  • Fullscreen mode
  • Cross platform

Usage/Examples

import Component from 'my-project'

function App() {
  return <Component />
}

Running Tests

To run tests, run the following command

  npm run test

API Reference

Get all items

  POST /api/upload-documents
Parameter Type Description
id_document file Required. ID document of the pharmacist
degree_document file Required. Pharmacy degree document
Working license document file Required. ID document of the pharmacist

Get item

  POST /api/add-medicine
Parameter Type Description
name string Required. Name of the medicine
active_ingredients string Required. Active ingredients of the medicine
price string Required. Price of the medicine
quantity string Required. Available quantity of the medicine

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

License

MIT

bond-pharmacy's People

Contributors

elazazymohamed avatar youssefmostafaa avatar husseinwasel avatar bodzawy avatar zedomancer avatar od00134 avatar abdelrahman-elziady avatar ahmedtahagad avatar salmanayman avatar ismailehab avatar nada-abdelfattah 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.