Coder Social home page Coder Social logo

covid-management's Introduction

Software Engineering Final Project

overview

This repository has writen by node.js code.
The repository manages a database of Covid-19 patients.
The database storges details of patients, people the patients met, thier covid-tests and status statistics.

Getting started

  • Clone the repository
  • Download and install API development environment such as Poasman or Swagger
  • Download and install Node.js
  • Install NPM on the command line
$npm install -g npm
  • Verify installation and version on the command line
$node -v

and also

$npm -v
  • Install Express-feature on the command line
$npm install express
$npm install express-validator

Running tests

For running tests install dev dependencies
Install on the command line Mocha-Chai-feature

$npm install mocha chai
$npm install chai-http
  • Install SuperTest-feature on the command line
$npm install supertest

Running tests

enter the following:

$npm run test

Running

  • Navigate to the repository folder
  • Run on the command line for starting a server
$node .

The server should return the message
listening on port 3000

  • By using the API send requests to the data base \
  • Send rest request to http://localhost:3000/

Commands

Post

patients/potential/{potentialPatientId}
labtests

Get

patients
patients/{id}/route
patients/{id}/encounters
patients/{id}/full
patients/new?since=[VALUE]
patients/potential
patients/isolated
statistics

Put

patients
patients/{id}/route
patients/{id}/encounters

Authors

License

This project is under the MIT license

Open Server

send rest request to this link http://ruppin2022.herokuapp.com

Class Diagram

Class Diagram

covid-management's People

Contributors

amitgz avatar sbt94 avatar

Forkers

sbt94

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.