A simple web-based ToDo list application built with Django and Bootstrap. This application allows users to add, view, and delete tasks efficiently.
- Features
- Demo Video
- Technologies Used
- Getting Started
- Authorization using OPAL
- Usage
- Contributing
- License
- Acknowledgments
- Add new tasks with a title and description
- View a list of all tasks
- Search for tasks
- Delete tasks
- undo task
- edit task
- Authorization using OPAL
Home.-.Todos.list.-.Brave.2024年06月08日.03-05-49.online-video-cutter.com.1.mp4
- Backend: Django
- Frontend: HTML, CSS, Bootstrap 5
- Database: SQLite (default for Django projects)
- Authorization: OPAL (Open Policy Agent)
Ensure you have the following installed:
- Python 3.x
- pip (Python package installer)
- Docker
- docker-compose
-
Clone the repository:
git clone https://github.com/rupacesigdel/ToDoList.git cd ToDoList -
Create and activate a virtual environment:
python -m venv venv venv\Scripts\activate # On Windows
-
Install the dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
Open your browser and visit:
http://127.0.0.1:8000/
This project uses OPAL (Open Policy Agent) for authorization to ensure that only authorized users can access certain tasks.
The OPALAuthorizationMiddleware class is defined to handle authorization using OPAL.
- Add a Task: Click on the "Add Task" button on the home page, fill in the title and description, and submit.
- View Tasks: The tasks will be listed on the tasks page.
- Delete a Task: Click the "Delete" button next to the task you want to remove.
Contributions are welcome! Please follow these steps:
- 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) - Create a new Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
- Inspiration from various online ToDo list tutorials and projects.
- Thanks to the contributors and the open-source community.
Feel free to customize this README.md file according to your project's specific details and requirements.