Skip to content

Nbat-Project-Final/Nbat-project-backend

Repository files navigation

NBAT Clone Backend

Quick Start for Teammates

Prerequisites

  • Java 21
  • Docker Desktop
  • Maven (or use ./mvnw)

Setup (First Time)

  1. Clone the repo
   git clone <your-repo-url>
   cd Nbat-project-backend
  1. Set up environment variables
   cp .env.example .env
  1. Edit .env and fill in YOUR Auth0 credentials

  2. Start PostgreSQL

   docker-compose up -d
  1. Run the application
   ./mvnw spring-boot:run
  1. Verify it works

Common Issues

"Auth0 credentials not found" → Make sure you copied .env.example to .env and filled in values

"Database connection failed" → Make sure Docker is running: docker-compose ps

"Port 8080 already in use" → Change SERVER_PORT=8081 in your .env

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages