Welcome to our RateHub Website, a dynamic social networking platform. This application has been developed using Django and React, allowing users to interact with each other in a variety of ways, such as adding stories, making posts, following each other, and rating each other.
The RateHub Website offers several key features, including:
- User Registration and Authentication: Users can create an account and log in to the application. User registration and authentication is handled by Django's built-in authentication system.
- Posting Messages: Users can create posts that will be visible to all their followers.
- Following Users: Users can follow other users. Once a user follows another user, they will be able to see their posts in their feed.
- Rating Users: Users can rate each other, adding another layer of interaction to the platform.
- Viewing Posts: Posts are displayed in a feed format, similar to Instagram.
- Adding Stories: Users can add stories, a feature that allows them to share photos and videos that vanish after 24 hours.
The back end of the application is handled by Django, a high-level Python web framework known for its "batteries included" philosophy. Django provides almost everything developers might want to do "out of the box", such as user authentication, data management, and server-side logic.
The front end of the application is built using React, a JavaScript library for building user interfaces. React's component-based architecture allows us to create a highly interactive and responsive user interface, ensuring a seamless user experience.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
List what software and versions are needed to run your project and how to install them.
- Python 3.8
- Django 3.2.5
- Node.js 14.17.0
- React 17.0.2
Provide a step-by-step guide on how to get a development environment running. This will likely include cloning the repository, installing dependencies, and setting up a database.
- Clone this repository to your local machine using
git clone https://github.com/seyed0123/OXDgram.git
. - Navigate to the project directory with
cd OXDgram
. - Install the JavaScript dependencies with
npm install
. - Migrate the database using
python manage.py migrate
.
Explain how to start your application. For a Django and React application, this might involve running the Django server and the React development server.
- Start the Django server with
python manage.py runserver
. - In a new terminal window, navigate to the frontend directory with
cd frontend
. - Start the React development server with
npm start
Django - The web framework used for the backend React - The library used for the frontend