This is a Spring Boot application for the DALI e-commerce site.
https://dali-delm.onrender.com/
- Java 21
- Apache Maven
- PostgreSQL
-
Clone the repository:
git clone <your-repo-url> cd DALI
-
Set up the PostgreSQL Database:
- Make sure PostgreSQL is installed and running.
- Create a database named
dali_db
.
CREATE DATABASE dali_db;
-
Configure Environment Variables: The application requires database credentials to be set as environment variables.
- On Windows (Command Prompt):
set DB_PASSWORD=your_postgres_password
- On Windows (Command Prompt):
-
Run the Application: You can run the application using the Maven wrapper:
./mvnw spring-boot:run
The application will be available at
http://localhost:8080
. The database schema and initial data will be automatically loaded on the first run.