Before you begin, ensure you have met the following requirements:
- You have installed the latest version of PostgreSQL.
- You have a Windows/Linux/Mac machine.
- You have installed the .NET 8 SDK.
To clone the Visual Studio Solution from the repository, run the following command in your terminal or command prompt:
git clone https://github.com/Initial-Dev/Project-S14.git- Install PostgreSQL following the official guide provided by PostgreSQL.
- Import the database dump from the repository:
psql -f dump.sqlOr import from pgAdmin.
Navigate to the solution directory where the .sln file is located and run the following command to restore any depedencies and build the project:
dotnet restore
dotnet buildor Launch the solution in Visual Studio and build
Run the following command to launch the application
dotnet run --project path_to_project_folderOr Launch from Visual Studio
Once the application is running you can access the different parts of the application using following URLs :
- API:
https://localhost:7075/api/ - Swagger Doc:
https://localhost:7075/swagger/index.html - WebApplication:
https://localhost:7216/
- Once the application is started navigate to the application url in your web browser
- Use the Classes menu to navigate. On this page you will see the list of classes as well as other listing
- By clicking on any class you will get a list of students
- Click on "See Grades" in the Action column to see the grades of a student (BROKEN*)
- From the main menu click on any of the 2 listings to get a detailed listing of both students and teachers.
* Deserialization issues because of loop references in the data. Fix not found atm.
- Add/Modify/Delete Grades (API Ready - Not implemented)
- Add a Student to a Class (API Ready - Not implemented)
- Add comments to Students by Subject (Not considered)