Skip to content

Repository files navigation

Chat Me πŸ—¨οΈ

A Django-based chat application with Tailwind CSS for styling.
This project demonstrates a real-time chat interface with a modern, responsive design.


Features

  • 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

Project Structure

    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.js

Setup Instructions

1. Clone the repository

git clone <your-repo-url>
cd chat_me
  1. Create a Python virtual environment
python -m venv backend_env
  1. Install Python dependencies
pip install -r requirements.txt
  1. Install Node.js dependencies
npm install
  1. Build Tailwind CSS
npm run watch:css

This will compile static/css/main.css to static/output.css and watch for changes.

  1. Run Django migrations
python manage.py migrate
  1. Start the server
python manage.py runserver

Visit 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.

License

This project is open-source and available under the MIT License .

Author

  • Simanga Mchunu Developer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages