A Django-based chat application with Tailwind CSS for styling.
This project demonstrates a real-time chat interface with a modern, responsive design.
- Django backend for handling chat logic
- Tailwind CSS for responsive UI
- Modular app structure (
chat_me/khuluma) - Ready for extension with WebSockets or REST APIs
chat_me/
ββ khuluma/
β ββ migrations/
β ββ templates/
β β ββ khuluma/
β β ββ chat.html
β ββ static/
β ββ views.py
β ββ urls.py
β ββ models.py
ββ chat_me/
β ββ settings.py
β ββ urls.py
β ββ wsgi.py
ββ manage.py
ββ package.json
ββ tailwind.config.js
ββ postcss.config.jsgit clone <your-repo-url>
cd chat_me- Create a Python virtual environment
python -m venv backend_env- Install Python dependencies
pip install -r requirements.txt- Install Node.js dependencies
npm install- Build Tailwind CSS
npm run watch:cssThis will compile static/css/main.css to static/output.css and watch for changes.
- Run Django migrations
python manage.py migrate- Start the server
python manage.py runserverVisit http://127.0.0.1:8000/ in your browser.
[!Notes] Templates must be placed under templates/<app_name>/.
For example: khuluma/templates/khuluma/chat.html
Tailwind CLI must be installed locally and referenced in package.json scripts.
Make sure APP_DIRS = True in settings.py.
This project is open-source and available under the MIT License .
- Simanga Mchunu Developer