This application uses Spring Boot to develop a REST service for FAQs. The service contains the following functionalities:
- /faq GET all FAQs
- /faq/{id} GET FAQ by id
- /faq POST new FAQ
- /faq/{id} DELETE FAQ by id
- MongoConfig to provide MongoDB instance, port and database
- MongoRepository interface to perform CRUD operations
- Enforce Basic Auth / JWT authentication
- Set security context for retrieving authorities