Table of Contents
This is the source code for the API service used by the Learning Journey Planning System by All-in-One. This service is built with
- Clone repository on local (with GitHub GLI:
gh repo clone learning-journey-planning-system/backend) - Ensure MAMP/WAMP is on.
- Rename
.env.exampleto.env. Configure the connection string in that file. (see DB Connection String Examples). - Ensure you have pipenv installed.
- Run the following commands: (1)
cd backend, (2)pipenv shell, (3)./start_backend.sh. - Access the API docucumentation on your Chrome Browser.
- Once you have finished using the API service, end the service.
| General Format | mysql+mysqlconnector://<username>:<password>@localhost:<port_no>/<database_name> |
| MacOS | mysql+mysqlconnector://root:root@localhost:3306/G10T3_LJPS_DB |
| Windows | mysql+mysqlconnector://root@localhost:3306/G10T3_LJPS_DB |
![]() |
![]() |
| Swagger Documentation @http://localhost:8000/docs | Redoc Documentation @http://localhost:8000/redoc |
- Stop backend service:
ctrl+C - Exit pipenv shell:
ctrl+D
- Create a new branch (
git checkout -b feature/<jira-ticket-number>-<short description>) - Develop feature
- Write unit tests (if needed)
- Commit your Changes (
git commit -m 'Adds <feature-description>') - Push to the Branch (
git push origin feature/<jira-ticket-number>-<short description>) - Open a Pull Request


