Course Planner is a project created by students at the University of Auckland for the SOFTENG761
course. The function of this application is to allow a user to create a customized degree 'plan' for students. This plan shows which courses the student would take per semester for their entire degree.
Prerequisities:
Docker
- Install Docker Desktop
- Start Docker desktop
- Navigate to base repository
course-planner
- Open up terminal/command-line and run
docker-compose up --build
. Note that if the images have already been built then you can rundocker-compose up
- Wait until everything starts up
- To test the api is running, go to localhost:8080/heartbeat
- To test the frontend is running, go to localhost:3000
Prerequisities:
Docker
,Windows 10 Education or Professional
,dos2unix.exe
- Install Docker Desktop
- Download dos2unix.exe
- Drag init.sh from (course-planner/seed-db) INTO dos2unix.exe (This will automatically convert all line endings from CRLF TO LF)
- Start Docker Desktop
- Navigate to base repository (course-planner)
- Open up terminal/command-line and run
docker-compose up --build
- Wait until everything starts up
- To test the api is running, go to localhost:8080/heartbeat
- To test the frontend is running, go to localhost:3000
If you are done running the application, run ctrl + c
and then run the command: docker-compose down
to stop containers.
chmod +x start.sh
chmod +x stop.sh
- To run the application:
./start.sh
- To stop the application:
ctrl+c
and then./stop.sh
- Note that a folder
course-planner-database
folder is made. If this folder is accidentally deleted then all your data will be lost :(
Once you have run the client/frontend, go to localhost:3000 in a browser of your choice.
Once you have run the API/backend, go to localhost:8080/swagger