Skip to content

Navigation Menu

Sign up
rupacesigdelPublic

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

History

13 Commits

Folders and files

Repository files navigation

ToDoList

ToDo List Application

A simple web-based ToDo list application built with Django and Bootstrap. This application allows users to add, view, and delete tasks efficiently.

Contain

Features

  • 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

Demo Video

Home.-.Todos.list.-.Brave.2024年06月08日.03-05-49.online-video-cutter.com.1.mp4

Technologies Used

  • Backend: Django
  • Frontend: HTML, CSS, Bootstrap 5
  • Database: SQLite (default for Django projects)
  • Authorization: OPAL (Open Policy Agent)

Getting Started

Prerequisites

Ensure you have the following installed:

  • Python 3.x
  • pip (Python package installer)
  • Docker
  • docker-compose

Installation

  1. Clone the repository:

    git clone https://github.com/rupacesigdel/ToDoList.git
    cd ToDoList
  2. Create and activate a virtual environment:

    python -m venv venv
    venv\Scripts\activate # On Windows
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Apply migrations:

    python manage.py migrate
  5. Run the development server:

    python manage.py runserver
  6. Open your browser and visit:

    http://127.0.0.1:8000/
    

Authorization using OPAL

This project uses OPAL (Open Policy Agent) for authorization to ensure that only authorized users can access certain tasks.

Middleware Setup

The OPALAuthorizationMiddleware class is defined to handle authorization using OPAL.

Usage

  • 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.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add some feature')
  5. Push to the branch (git push origin feature-branch)
  6. Create a new Pull Request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • 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.

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /