Skip to content

Eventorium is a web API for event planning. The backend is built using Java and Spring Boot, organized by the package-by-feature structure. A fully documented REST API is provided using Springdoc OpenAPI.

Notifications You must be signed in to change notification settings

natasakasikovic/eventorium-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Unlicense License Last Commit

EVENT PLANNER API


Report Bug

Table of Contents
  1. About The Project
  2. Getting Started
  3. API Documentation
  4. Code Quality – Sonar
  5. Running Tests
  6. Available Roles and Credentials

📋 About The Project

Eventorium is a web API for event planning, built with Java and Spring Boot. It enables users to efficiently organize and manage events such as weddings, corporate gatherings, birthday parties, and more. This is the backend application for the Eventorium platform. The project follows a package-by-feature structure and includes comprehensive documentation, testing, and integration tools.

Happy planning with Eventorium! 🎉


🔧 Built With

This project is built using the following core technologies:

Java

Spring Boot

Maven

PostgreSQL


🚀 Getting Started

Follow the steps below to set up and run the project locally.

🛠️ Installation Steps

  1. 🔁 Clone the repository

    git clone https://github.com/natasakasikovic/eventorium-backend.git
    cd eventorium-backend
  2. ⚙️ Update configuration

    Open the src/main/resources/application.properties file and update the necessary values such as:

    • Database connection
    • Mail credentials
    • Any other environment-specific settings
  3. 📦 Build the project

    ./mvnw clean install
  4. ▶️ Run the application

    ./mvnw spring-boot:run

The application will start on: 📍 http://localhost:8080


API Documentation

Swagger UI will be available at: 📖 http://localhost:8080/swagger-ui.html

A fully documented REST API is provided using Springdoc OpenAPI, allowing you to explore all available endpoints, request/response schemas, and try out API calls directly from the browser.


📊 Code Quality – Sonar

SonarQube is available for static code analysis.

▶️ Start Sonar locally:

mvn clean verify
mvn sonar:sonar -Dsonar.token=<token>

Make sure your SonarQube server is running locally (default: http://localhost:9000).


🧪 Running Tests

The project uses JUnit 5 for testing. Tests are separated by layers:

✅ Unit tests for Service and Repository layers

✅ Integration tests for REST controllers

🔧 Run all tests:

./mvnw test

Or (Windows):

mvn test

👥 Available Roles and Credentials

The system supports the following roles with corresponding credentials:

  • Organizer

    • Email: organizer@gmail.com
    • Password: pera
  • Service and product provider

    • Email: provider@gmail.com
    • Password: pera
  • Administrator

    • Email: admin@gmail.com
    • Password: pera
  • User (registered via quick registration)

    • Email: user@gmail.com
    • Password: pera

(back to top)

About

Eventorium is a web API for event planning. The backend is built using Java and Spring Boot, organized by the package-by-feature structure. A fully documented REST API is provided using Springdoc OpenAPI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published