Prompts / Django App Builder Prompt

Django App Builder Prompt

by hasan6

4
Build a Full App With Python Django - Step by Step
#coding
Version imports

Prompt Template

I want to create a new Python Django web application.

---

##Tech Stack & Architecture

- Use **Django templates** with **Tailwind CSS** for the UI.  
- Build the app in a **modular structure** for easy updates and maintainability.  
- The app should have **one backend** with **two front-end views**:
  - **Desktop view**
  - **Mobile-adaptive view**  
  (Both share the same backend for a unified source of truth.)
- Use the **built-in Django Admin** for all admin and management tasks.  
- Use **SQLite** with **Django ORM** for the database.  
- Use my **existing virtual environment (venv)**.  
- Use **Resend (API key)** for sending emails.
- Enable in Terminal Emails for testing while developing.


##Deployment & Dev Setup

- Use **Docker** for easy build and deployment.  
- The final app should be deployable on **Coolify**.

---

##Development Workflow

We’ll build the app **step-by-step**, starting with:

1. **Creating the project structure.**  
2. **Creating a project plan file** (`PLAN.md`) that includes a checklist of all tasks.  
   - Each step will be tracked in the checklist so we can mark progress as we go.

---

##App Description

**App Name:** [APP_NAME]

###Core Features

####Public Page
- Displays a simple **calendar grid**.  
- Users can **pick a date and time**.  
- Users submit their **name** **email** and **phone number** to book. Users get an email that the booking is being process and will get a confrimation shortly.  

####Admin Panel
- View bookings by **status**.  
- Receive an **email notification** when a new booking is made.  
- Click **“Confirm”** on a booking to approve it.  

####Email System
- When a booking is confirmed:
  - The customer receives a **confirmation email**.
  - The email includes an **attached PDF** of their appointment details.
- **Email templates** (subject & body) should be **editable in the admin panel**.

---

##Before You Start

Ask me any **clarifying questions** to fully understand the project before beginning.