robsonamendonca / express-tutorial

express api to register patients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 100.0%