Skip to content

v1.0.0

Compare
Choose a tag to compare
@xkelxmc xkelxmc released this 18 Jun 18:22
· 9 commits to master since this release

This is a first release!

Routes:

Auth:

  • POST: /auth/login login with {email: 'string', password: 'string'}
  • GET: /auth/logout logout
  • POST: /auth/signup SignUp with {email: 'string', password: 'string'}

Users:

  • GET: /user get current user
  • GET: /user/:userId get user by Id
  • GET: /users/ find all users

Posts:

  • POST: /posts/ create new post form user {title: 'string', body: 'string'}
  • GET: /posts/:postId get posts by Id
  • GET: /posts/ find all posts