Git Product home page Git Product logo

hospital_api's Introduction

Coding Ninjas Skill Test Assignment

About The Project

Design the server side for a Hospital-API. Tech Stack: Node.js & Mongo DB

  • Required Routes :

    • /doctors/register → with username and password
    • /doctors/login → returns the JWT to be used
    • /patients/register
    • /patients/:id/create_report
    • /patients/:id/all_reports → List all the reports of a patient oldest to latest
    • /reports/:status → List all the reports of all the patients filtered by a specific status

Built With

Here is the Technology Stack of this Application. which I have used to Built this Application.

  • MongoDB
  • Express
  • NodeJS

Directory Structure and flow of The Code

Hospital-API
    |------ config
    |         └--- mongoose.js
    |------ controller
    |         └--- doctorController.js
    |         └--- patientController.js
    |         └--- reportController.js
    |------ middleware
    |         └--- authMiddleware.js
    |------ models
    |         └--- doctor.js
    |         └--- patient.js
    |         └--- report.js
    |------ routes
    |         └--- doctor.js
    |         └--- patient.js
    |         └--- report.js
    |------ .gitignore
    |------ index.js
    |------ package.json
    |------ package-lock.json
    └------ README.md

hospital_api's People

Contributors

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