Skip to content

gitwithSanchit/quiz-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Quiz Microservices Application

A backend Quiz Application built using Spring Boot Microservices architecture.

πŸš€ Tech Stack

  • Java
  • Spring Boot
  • Spring Data JPA
  • PostgreSQL
  • Eureka Server (Service Registry)
  • OpenFeign (Inter-service communication)
  • API Gateway
  • Postman (API Testing)
  • GitHub

πŸ— Architecture

  • Eureka Server
  • API Gateway
  • Quiz Service
  • Question Service

Each service has its own database.


πŸ“Œ Features

  • Create quiz by category and number of questions
  • Fetch quiz questions
  • Submit quiz answers
  • Calculate score
  • Microservice communication using Feign
  • Service discovery using Eureka

β–Ά How to Run Locally

  1. Start Eureka Server
  2. Start API Gateway
  3. Start Question Service
  4. Start Quiz Service

Make sure PostgreSQL is running and databases are created.


πŸ”— Sample Endpoints

Create Quiz:

POST

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages