Skip to content

j-imsa/gara-app-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gara App Backend

Java - 21 Spring Boot Spring Security JWT Maven License

🚀 A modern, secure backend application built with Spring Boot, featuring JWT authentication and real-time capabilities through Server-Sent Events.

✨ Features

  • 🔐 JWT Authentication - Secure token-based authentication
  • 🛡️ Spring Security - Comprehensive security framework
  • Server-Sent Events - Real-time data streaming
  • Java 21 - Latest LTS Java features
  • 🏗️ Spring Boot - Production-ready framework
  • 📦 Maven - Dependency management and build automation

🛠️ Tech Stack

Technology Version Purpose
Java 21 Programming Language
Spring Boot 3.5.0 Application Framework
Spring Security 6.x Security Framework
JWT - Authentication Tokens
Maven 3.5.0 Build Tool

🚀 Quick Start

Clone the repository

  git clone https://github.com/j-imsa/gara-app-backend.git

Navigate to project directory

  cd gara-app-backend

Run the application

  mvn spring-boot:run

📡 API Endpoints

Authentication

  • POST /api/auth/login - User login
  • POST /api/auth/register - User registration
  • POST /api/auth/refresh - Refresh JWT token

Real-time Events

  • GET /api/events/stream - SSE endpoint for live updates

🔧 Configuration

Create application.yml with your settings:

server: 
  port: 8888

jwt: 
  secret: 
    your-secret-key: 
      expiration: 86400000

spring: 
  datasource: 
    url: jdbc:h2:mem:garadb

🤝 Contributing

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Star this repository if you find it helpful!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages