Skip to content

imounish/Django-PostgreSQL-Docker-Starter

Repository files navigation

Django User Management Project

This is a template repository for a Django project with a PostgreSQL database, managed through Docker Compose. Feel free to customize this template further according to your project's requirements.
This basic project consists of a usermanagement directory as the main project and a usersapp directory for the app handling user-related functionalities showcasing the basic functioanlity for using Django.

Table of Contents

Features

  • Django 4.x
  • PostgreSQL database
  • Docker and Docker Compose setup
  • User management system in usersapp

Project Structure

.  
├── docker-compose.yml  
├── Dockerfile  
├── entrypoint.sh  
├── usermanagement  
│  ├── asgi.py  
│  ├── settings.py  
│  ├── urls.py  
│  └── wsgi.py  
└── usersapp
   ├── management  
   ├── migrations  
   ├── admin.py  
   ├── apps.py  
   ├── models.py  
   ├── serializers.py  
   ├── tests.py  
   ├── urls.py  
   └── views.py

Prerequisites

Make sure you have the following installed on your local machine:

  • Docker
  • Docker Compose

Setup and Installation

  1. Clone the repository
git clone https://github.com/yourusername/yourproject.git
cd yourproject
  1. Build and start the Docker containers
docker-compose up --build

Usage

  • Access the application at http://localhost:8000/.
  • Access the Django admin at http://localhost:8000/admin/.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published