This project is a web application that tracks and displays upcoming assignments from Moodle. The data is fetched using the Moodle API and displayed on a website built with the Flask web framework.
Fetch Assignments: Automatically pulls assignment data from Moodle using your personal account user ID.(coming soon)- Display Assignments: Shows upcoming assignments on a simple HTML page.
- Future Updates: Plans to enhance the website's appearance and functionality with additional features.
-
Clone the repository:
git clone https://github.com/yourusername/assignment-tracker.git cd assignment-tracker -
Create a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
- Create a
.envfile in the root directory. - Add your Moodle API token:
API_TOKEN=your_api_token
- Create a
-
Run the application:
python3 app.py
- Open your browser and go to
localhost:5000/to see the list of upcoming assignments.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.