Installation and Setup
Clone the Repository
git clone https://github.com/cawtoz/dine-api.gitcd dine-apiConfigure the .env File
Copy the content of .env.example to a new file named .env in the root of the project:
cp .env.example .envThen, open the .env file and update the placeholder values with your PostgreSQL database configuration details:
DATABASE_URL=jdbc:postgresql://localhost:5432/dineDATABASE_DRIVER=org.postgresql.DriverDATABASE_USER=your_db_userDATABASE_PASSWORD=your_db_passwordSERVER_PORT=8080Build and Run the Project
Ensure you have Gradle installed. Then, execute:
./gradlew runThe server will start on the port specified in the .env file.