Skip to content

Sample api for scheduling meetings based on own basic backend core.

Notifications You must be signed in to change notification settings

AdrianWii/basic-scheduler

Repository files navigation

Description

Sample api for scheduling meetings based on own basic backend core.

Used technologies

Demo

POST: /user

Adding new user.

exanple body:

    {
        "name": "John",
        "surname": "Snow",
        "email": "john.snow@adrianwii.pl"
    }

GET: /user

List of all users.

POST: /meeting

Adding new meeting.

exanple body:

{
    "title": "Meeting 3",
    "startTime": "2024-02-10T00:00:00.000Z",
    "participants": ["adrian.widlak@adrianwii.pl"]
}

GET: /meeting

List of all meetings.

GET: /meeting/suggestion

exanple body:

{
    "date": "2024-02-07",
    "participant1": "adrian.widlak@adrianwii.pl",
    "participant2": "john.snow@adrianwii.pl"
}

List of available time slot for given day. Return array of proposed hours.

Running the app

$ npx tsc

$ node main.js

Test

# unit tests
$ npm run test

Example output from cosole after running tests:

Example output from postman after running manual tests:

Author

About

Sample api for scheduling meetings based on own basic backend core.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published