A web application built with Spring Boot, featuring user authentication and SQL Server integration.
- Java 17 or higher
- Docker (for containerized deployment)
- SQL Server database
The following environment variables need to be set in production:
DATABASE_URL=jdbc:sqlserver://your-server:1433;databaseName=your-db;encrypt=true;trustServerCertificate=true
DATABASE_USERNAME=your-username
DATABASE_PASSWORD=your-password
PORT=8081 (optional, defaults to 8081)
SSL_ENABLED=true/false (optional, defaults to false)
- Build the Docker image:
docker build -t my-app .- Run the container:
docker run -d \
-p 8081:8081 \
-e DATABASE_URL=your-database-url \
-e DATABASE_USERNAME=your-username \
-e DATABASE_PASSWORD=your-password \
my-app- Create a new Web Service
- Connect your GitHub repository
- Set the following:
- Build Command:
./mvnw package -DskipTests - Start Command:
java -Dspring.profiles.active=prod -jar target/*.jar - Add the environment variables
- Build Command:
- Create a new project
- Connect your GitHub repository
- Add environment variables
- Deploy
- Clone the repository
- Set up your local SQL Server database
- Update
application.propertieswith your local database credentials - Run the application:
./mvnw spring-boot:run- User authentication (login/register)
- SQL Server database integration
- Responsive UI design
- Session management
- Production-ready configuration