Welcome to the Messaging Web Application, a project created by Narendra.
This application is designed to provide a messaging platform with a frontend built using React and a backend powered by Django Rest Framework.
Here are some screenshots showcasing the views of the application:
To set up and run the application locally, follow these steps:
-
Navigate to the
frontend
directory:cd frontend
-
Install dependencies:
npm install
-
Run the development server:
npm run dev # for local run
The application will be accessible at
http://localhost:3000
.
-
Create a virtual environment (recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install dependencies:
pip install -r requirements.txt
-
Navigate to the
backend
directory:cd backend
-
Apply migrations:
python manage.py makemigrations python manage.py migrate # create a admin user from admin page by creating super user in django admin pannel and perform actions python manage.py createsuperuser <user> # login and perform actions
-
Run the development server:
python manage.py runserver
The backend will be accessible at
http://localhost:8000
.Now, you should have both the frontend and backend servers running locally. Open your web browser and go to
http://localhost:3000
to access the messaging application. -
Run Test Cases:
python manage.py test