This is a full-stack chat application built with Django for the backend and React for the frontend. It includes features for chat and interest messages, with a visually appealing interface inspired by FC Barcelona,The Club Of My life
- [Python] 3.x
- [Node.js] (includes npm)
- [Django]
- [Django REST Framework]
- [React]
-
Navigate to the backend directory:
cd mychatapp
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required Python packages:
pip install -r requirements.txt
-
Apply migrations to set up the database:
python manage.py migrate
-
Start the Django development server:
python manage.py runserver
The backend should now be running at http://127.0.0.1:8000/
.
-
Navigate to the React application directory:
cd my-react-app
-
Install the necessary npm packages:
npm install
-
Start the React development server:
npm start
The frontend should now be running at http://localhost:3000/
.
- Make sure the Django backend server is running (
http://127.0.0.1:8000/
). - Make sure the React frontend server is running (
http://localhost:3000/
). - Open your browser and navigate to
http://localhost:3000/
to use the chat application.
- FC Barcelona for the color inspiration.
- The Django and React communities for their excellent frameworks.