Skip to content

manalidarji/relax-inn-API-Spring-Boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful API Project

  • This API was built for a fake vacation rentals website; Relax-Inn
  • A RESTful API made using Java Spring Boot Framework.
  • This project produces RESTful API endpoints using the data saved in MongoDB
  • Please Note: This project is deployed on Heroku, hence it might take a minute to load.

API

PROPERTIES

/properties

  • GET : Get all properties
  • POST : Create a new property

/projects/:propID

  • GET : Get a property
  • PUT : Update a property
  • DELETE : Delete a property

/properties/type/:propType

  • GET : Get all properties of a specific type

/properties/search?searchTerm=searchKW

  • GET : Get all properties containing searchKW in their title(case insensitive)

/properties/bestseller

  • GET : Get all bestseller properties

/properties/bestseller?limit=3

  • GET : Get 3 bestseller properties

PROPERTY TYPES

/propertyTypes

  • GET : Get all property types
  • POST : Create a new property type

/propertyTypes?limit=3

  • GET : Get 3 property types

USERS

/users

  • GET : Get all users
  • POST : Create a new user

/users/:userID

  • GET : Get specific user

/register

  • POST : Create a new user

/auth

  • POST : Authenticate a user

Screenshot

Home Page showing resources provided by this API Home Page

Author

Manali Darji

About

RESTful API for a Vacation Rentals Website using Spring Boot Java framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published