Skip to content

alxpsr/tutorial-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intern API

Simple REST API for sandbox tasks

Routes

GET

  • / - main route
  • /users - users collection
  • /users/:id - user by id

POST

  • /users

REQUEST-DTO

{
    name: string;
    surname: string;
    patronymic: string;
    dateBirth: Date;
    gender: string;
}

RESPONSE-DTO

{
    id: number;
    fullName: string;
    dateBirth: Date;
    gender: string;
    avatar: string;
}

About

Simple NodeJS api for some tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published