Skip to content

hugomalzieux/truitter-back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

truitter-back

API

  • POST /users/signup => Create user (Dto => email, password, firstName, lastName)
  • POST /users/login => Log user (Dto => email, password)
  • GET /users/:id => return all truittes of an user
  • GET /quotes => return all truittes of the people I follow
  • POST /quotes => create a truitte (Dto => text)
  • PUT /quotes/:id => edit a truitte (Dto => text)
  • DELETE /quotes/:id => delete a truitte
  • POST /subscriptions/:id => follow an account
  • DELETE /subscriptions/:id => unfollow an account

TABLES

User => ID, firstName, lastName, darkMode

Quote => ID, text, #userID, createdDate, modifiedDate

Subscription => ID, #followerID, #followedID

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published