Skip to content

digitalinnovationone/express-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express

Express Tutorial

A Rest API that register patients and detect Corona symphtoms

About the project   |    Goals   |    Installation   |    Routes   |    Licence

🚀 About the project

An API Rest made with Express to register patients and detect Corona symptoms. The file system API provided by Node was used to persist patients data, since the goal of the tutorial was to focus on Express Fundamentals and not to set up a database.

☑️ Goals

Understand how to create a server with Express, setting the routes, separating the entity operations with controllers and creating middlewares to do configurations or logics between two points.

🏁 Installation

First of all, make sure that you have Node.js installed on your machine. Choose a package manager (NPM or Yarn)


Now, to install the dependencies

yarn install

To start the application

  yarn dev 
  

📨 Routes

Status Codes

This API returns the following status codes:

Status Code Description
200 OK
401 UNAUTHORIZED
404 NOT FOUND
500 INTERNAL SERVER ERROR

📝 Licence

MIT Licence. See the file LICENSE for more details.


Made with ♥ by Laura 👋 See my linkedin!

About

express api to register patients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%