Skip to content

Kadaverin/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node js task : chat api

Supported routes:

Users:

  • GET "api/users"- returns all users list
  • GET "api/users/id"- returns user by id
  • GET "api/users/id/chats"- returns all users with whom the user with the given id has conversed
  • POST "api/users" - create new user
  • PUT "api/users/id" - update user by id
  • DELETE "api/users/id" - delete user by id

Messages:

  • GET "api/messages"- returns all messages list
  • GET "api/messages/id"- returns message by id
  • POST "api/messages" - create new message
  • PUT "api/messages/id" - update message
  • DELETE "api/messages/id" - delete message

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published