Skip to content

codequillskills/Locker-Protection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

LockerProtection

LockerProtection is a web application built using Django, HTML, and CSS and Javascript. It allows users to protect their lockers by setting up personalized access codes.

Table of Contents

Features

  • User registration and login
  • Locker management
  • Dashboard with locker status

Technologies

  • Frontend: HTML, CSS, Javascript
  • Backend: Django
  • Database: postgresql

Prerequisites

  • Python (3.8 or above)
  • Git

Installation

  1. Clone the repository:

  2. Install dependencies:

    • pip install -r requirements.txt
  3. Create a virtual environment

    • python -m venv ./env
    • cd env/scripts
    • activate
  4. Add the .env file in the root directory as sample provided

  5. Set up your database:

    • python manage.py makemigrations
    • python manage.py migrate
  6. Create a superuser:

    • python manage.py createsuperuser
  7. Run the development server:

    • python manage.py runserver
  8. Access the application at http://localhost:8000/

Usage

  1. Register an account.
  2. Log in and add your lockers.
  3. Monitor locker status on the dashboard.

Contributing

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

License

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