osman-butt / student-admin

Student admin REST API using Spring Boot and MySQL

Home Page:https://student-admin.azurewebsites.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build and deploy JAR app to Azure Web App - student-admin

Student admin REST API

The backend is deployed here.

Deployment

  • Main Branch: On every push to the main branch, the CI/CD pipeline automatically builds the application, runs tests, and deploys the updated version to the production environment.
  • Pull Requests: When pull requests are opened, a CI pipeline is triggered, which runs all the tests.

Getting Started

To run the application locally:

  1. Clone the repository:
    git clone https://github.com/osman-butt/student-admin.git
    
  2. Navigate to the project directory:
    cd student-admin-system
    
  3. Add environment variables
    spring.datasource.url=${DB_URL}
    spring.datasource.username=${DB_USER}
    spring.datasource.password=${DB_PASS}
    
  4. Build and run the application using spring boot profile dev (=populates db with predefined data):
    ./mvnw spring-boot:run -Dspring.profiles.active=dev
    
  5. Access the application in your web browser at http://localhost:8080

Feedback

If you encounter any issues or have suggestions for improvement, please feel free to open an issue on GitHub

About

Student admin REST API using Spring Boot and MySQL

https://student-admin.azurewebsites.net/


Languages

Language:Java 100.0%