Skip to content

Hotel Management web api using Java Spring boot + MongoDB database

Notifications You must be signed in to change notification settings

oshan2csd/SpringBootMongoDBApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring boot + MongoDB - Hotel management system

Class Diagram

alt text

Annotations

MongoDB annotations

  • @Document Letting Mongodb know it need to store this as a collection. Optional - (collection="name")

  • @Indexed - adding an index to a property

Spring annotations

  • @Id - PK
  • @Repository - an interface
  • @Component - an component

Database

  • Configure Application.properties class
  • Database will be created when run the application
  • Refer DbSeeder Class

About

Hotel Management web api using Java Spring boot + MongoDB database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages