GithubHelp home page GithubHelp logo

luqmanqureshi123 / hospital-appointment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erentnr/hospital-appointment

0.0 0.0 0.0 19.19 MB

Simple Hospital Appointment App with React and Node.js

JavaScript 50.09% HTML 49.91%

hospital-appointment's Introduction

Hospital Appointment

Hospital Appointment is a Appointment Management System made with Node.js & React.
Patients can create hospital appointments to departments and doctors they choose.
Doctors can open and close appointments, diagnose patients and choose diseases form completed appointments.

Installation

  • Clone Project
$ git clone https://github.com/erentnr/hospital-appointment.git
  • Install dependencies and start both client and backend server
$ cd server
$ npm i
$ npm start
$ cd ..
$ cd client
$ npm i
$ npm start
  • Go to localhost:3000

Tech

  • Server Side: Node.js, Express

  • Client Side: React.js, Axios

  • Database: MongoDB

Deployed Demo

Deployed demo will be at here when it is ready.

For Patient:

For Doctor:

API Reference

The backend and frontend communicate through REST Apis. On the frontend, we make Axios requests to the following routes:

Users

URI Method Operation
api/users get get all users
api/users/:id get get a user
api/users/:id put update a user
api/users/:id delete delete a user

Auth

URI Method Operation
api/auth/register post create a new account
api/auth/login post login to an account
api/auth/logout post logout from an account

Departments

URI Method Operation
api/departments get get all departments
api/departments post create a new departments
api/departments/:id get get a department
api/departments/:id put update a department
api/departments/:id delete delete a department

Appointments

URI Method Operation
api/appointments get get all appointments
api/appointments post create a new appointment
api/appointments/:id get get an appointment
api/appointments/:id put update an appointment
api/appointments/:id/status put update an appointment status

Diseases

URI Method Operation
api/diseases get get all diseases
api/diseases post create a new disease
api/diseases/:id get get a disease
api/diseases/:id put update a disease
api/diseases/:id delete delete a diseases

Authors

License

MIT

hospital-appointment's People

Contributors

erentnr avatar yrtby avatar imertekin avatar coskntkk avatar cagatay135 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.