RateMyCourse is a web application allowing students to rate courses and professors. It features a Spring Boot backend (REST API) with PostgreSQL for persistence and a vanilla JavaScript frontend using Session-based authentication.
-
Prerequisites:
Before running the project, ensure the following are installed on your station:
Java Development Kit (JDK): Version 17 or higher.
PostgreSQL: Version 14 or higher.
Maven: For building the backend.
Web Browser: Chrome, Firefox, or Edge.
IDE (Optional): IntelliJ IDEA or VS Code.
-
Database Setup:
The application is configured to connect to a local PostgreSQL database.
Open your terminal or pgAdmin.
Create the database using the name defined in your configuration: CREATE DATABASE ratemycourseDb;
Note: The application expects a user postgres with password 12345678 running on port 5432. If your local setup differs, you must update src/main/resources/application.properties.
-
Run the Backend
Navigate to the backend root folder.
Run the command: mvn spring-boot:run
The application will start on port 8080.