Sample api for scheduling meetings based on own basic backend core.
Adding new user.
exanple body:
{
"name": "John",
"surname": "Snow",
"email": "[email protected]"
}
List of all users.
Adding new meeting.
exanple body:
{
"title": "Meeting 3",
"startTime": "2024-02-10T00:00:00.000Z",
"participants": ["[email protected]"]
}
List of all meetings.
exanple body:
{
"date": "2024-02-07",
"participant1": "[email protected]",
"participant2": "[email protected]"
}
List of available time slot for given day. Return array of proposed hours.
$ npx tsc
$ node main.js
# unit tests
$ npm run test
Example output from cosole after running tests:
Example output from postman after running manual tests: