Skip to content

cStoneDev/zoo_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend in Spring Boot 3.3.6 for the zoofrontend project

Note: Make sure to check the application.properties of your setup, watch for the DB configuration, most importantly the URL (name of your DB).

In the DB folder you'll find two files: a .sql and a .backup to properly set up your DB; choose whichever you prefer.

▎Running the Project

To run the project, navigate to the project folder and execute:

CMD

mvnw spring-boot:run

BASH

./mvnw spring-boot:run

This will automatically install all the necessary dependencies and everything related to Spring Boot.

To access Swagger, open the following link in your browser:

http://localhost:8080/swagger-ui/index.html

▎ Dependencies

To add dependencies to the pom.xml file, write the necessary XML code for it, and then execute:

CMD

mvnw clean install # for cmd

BASH

./mvnw clean install # for bash

It is important to run this command every time you make changes to the pom.xml.

▎ Environment Variables

To set the .env file on your local machine copy the content of .env.example into a new .env file in the same folder, and replace the corresponding variables

That's all for now!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages