Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages