Skip to content

This application is similar to eBay but only for technology. Each user can post and browse for other items posted by any user, making renting any tech a breeze!

Notifications You must be signed in to change notification settings

tt72-techStuff/frontendTechStuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

ENDPOINTS

Posts Endpoints:

/api/posts

  • Get('/')

    • returns array of all posts
  • Get('/:id')

    • returns post by ID
  • Get('/user/:id')

    • returns array of given user's posts
  • Post('/')

    • (requires body)
      • returns newly created post
  • Delete('/:id')

    • returns message confirming deletion
  • Put('/:id')

    • (requires Body & ID)
      • returns updated post

User Endpoints:

/api/users

  • Get('/')

    • returns array of all posts (MUST BE ADMIN)
  • Get('/:id')

    • returns user by ID

Auth Endpoints:

/api/auth

  • Post('/register')

    • (requires body)
      • returns newly created user
  • Post('/login')

    • (requires body)
      • returns welcome message and token

About

This application is similar to eBay but only for technology. Each user can post and browse for other items posted by any user, making renting any tech a breeze!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7