Skip to main content

Doctor's opening hours API

Technologies

#nodejs #express #mongoose #mongodb

Overview

Simple NodeJS project. It is an API service. The project is using MongoDB. The first iteration was created as interview assignment task. Then it was improved with databse connection and refactor. Imrovement also includes route for POST request.

Docs

API

ROUTEMETHODRESPONSE
/reservation/allGETReservation[]
/reservation*POSTReservation

Types

type Reservation = {
date: string;
start: string;
end: string;
};

Sources