This application is a chat room built with React, Vite and Django REST Framework.
- Create a new chat room
- List chat rooms
- Talk in a specific chat room
No screenshot available.
This application uses a frontend
application and a backend
server.
For that project, you need to install an virtual environement with Python with these commands :
python3 -m venv env
source env/bin/activate
Please ensures that you installed the venv
package with that command :
sudo apt get install python3.11-venv
To install django
and required dependencies
, you need to activate the env
. When your env
is activated, follow that command :
All dependencies you need to install are listed in the
requirements.txt
file
cd app
python -m pip install -r requirements.txt
You have already a folder app installed. To run the django server, do that command :
Please make sure you are in the env
cd app
python manage.py runserver
To run the frontend, you need to install node
in your computer.
How to install: https://nodejs.org/en/download
When you have node installed, you need to install dependencies in the frontend
directory.
cd frontend
npm install # this will install required dependencies
Nothing hard there, just follow these commands:
cd frontend
npm run dev