progeroffline / django-web-panel

Web admin panel written in django. This template we can use in anything.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-web-panel 😺

Description πŸ“œ

django-web-panel is a Git repository that contains a versatile template for quickly creating a web admin panel with modern design and comprehensive functionality. This template offers a convenient solution for developers aiming to build functional administrative panels for various purposes, such as online stores, data management systems, analytical platforms, and more.

Project Structure πŸ—οΈ

.
β”œβ”€β”€ .env-dist
β”œβ”€β”€ postgres-utils.py
β”œβ”€β”€ README.md
β”œβ”€β”€ requirements.txt
└── src
    └── web
        β”œβ”€β”€ accounts
        β”œβ”€β”€ manage.py
        β”œβ”€β”€ panel
        β”œβ”€β”€ static
        β”œβ”€β”€ templates
        └── web

Key Features πŸš€

Design 🎨

  • Modern and responsive design, adaptable to different devices. 🌐
  • Minimalistic and intuitively designed interface for easy navigation. 🧭

Functionality βš™οΈ

  • User registration and account management with support for different roles and access rights. πŸ‘₯
  • User authentication and authorization for data security. πŸ”
  • Flexible database management system for storing and processing information. πŸ—„οΈ

Technologies πŸ’»

  • Built using popular web technologies such as HTML, CSS, and JavaScript. 🌐
  • Web framework Django for faster development and feature extension. 🐍
  • Integration capability with database PostgreSQL. πŸ“Š

Database Management πŸ—ƒοΈ

The repository includes a helpful file named postgres-utils.py which provides commands for managing the database. Here are the available commands:

  • db-update-access: Grants privileges to the database for the environment user.
  • db-remove: Removes the environment database.
  • db-create: Creates the environment database.
  • db-recreate: Recreates the environment database.

Demo Videos πŸ“Ή

Desktop version

Mobile version

Installation Guide πŸ› οΈ

To set up the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/ProgerOffline/django-web-panel
cd django-web-panel
  1. Edit the .env-dist file with the following content:
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_HOST=127.0.0.1
DATABASE_PORT=5432

Rename the file to .env.

  1. Create a Python 3 virtual environment:
python3 -m venv venv
source venv/bin/activate
pip3 install --upgrade pip
  1. Install the required packages from the requirements.txt file:
pip install -r requirements.txt
  1. Navigate to the src/web/ directory:
cd src/web/
  1. Apply migrations for the Django database:
python3 manage.py makemigrations
  1. Apply the migrations to the Django database:
python3 manage.py migrate
  1. Start the Django project:
python3 manage.py runserver

Now the project is set up and running. You can access the admin panel and start building your application.

Support the Author ❀️

If you find this project helpful and would like to support the author, you can consider contributing to the project, giving it a star on GitHub, or providing a donation.

About

Web admin panel written in django. This template we can use in anything.


Languages

Language:CSS 58.4%Language:Python 22.9%Language:HTML 18.7%