Hello! You are expected to carefully go through this project to fully understand its requirements and functionality.
This is your Teststation project, and you are expected to render and expose the following APIs on a frontend page. You have just two endpoints to work with:
- User Login Endpoint
- Schedule List Endpoint
We are not looking for a beautiful frontend page. A simple page that properly interacts with the necessary endpoints will suffice. We are also interested in seeing how you render the data from the backend.
- Create a login page that interacts with the necessary endpoint to authenticate the user.
User Credentials:
- Email:
admin@admin.com - Password:
admin12345
- Create a table to display the data retrieved from the schedules endpoint.
- Use the data keys as table columns and the data values as table rows.
-
Create your branch on your local machine:
-
Push your branch to the repository; this will be your working environment where we will grade your code
-
Clone the repository to your local machine
-
Navigate into the "teststation" directory using your terminal
-
Run the following command to download all the necessary packages
pip install -r requirements.txt
Note: Ensure you have Python and pip installed and properly set up to run the above command.
- After the command has run completely without any errors, run the next command to start up your live server on your local machine
python manage.py runserver
-
Navigate to http://127.0.0.1:8000/apis to view the list of available APIs.
-
Please use any version of Jinja for this project.