This is a simple social media application built with React and Node.js. The purpose of this application is to allow users to connect with each other, share updates, and engage in discussions on various topics.
Features
- User authentication: Users can create accounts and log in to the application securely.
- User profiles: Users can create and customize their own profiles, including adding profile pictures and personal information.
- Posting updates: Users can post updates to their profiles, which can be seen by their followers.
- Following other users: Users can follow other users to see their updates and engage with them.
- Commenting on updates: Users can leave comments on updates to engage in discussions with other users.
- Searching for users: Users can search for other users based on their name or username.
To get started with this application, follow these steps:
Clone this repository to your local machine.
Navigate to the project directory in your terminal.
Run npm install
to install the dependencies.
Create .env
file in the projects root directory and add your postgres db url, Example: DATABASE_URL="postgresql://postgres:postgres@localhost:5432/reactsocial?schema=reactsocial"
run npx prisma migrate dev --name init
to migrate initial schema to sql
For more information about Prisma visit ./Prisma/README.md
Run npm run dev
to start the development server.
Navigate to http://localhost:3000 in your web browser to view the application.
If you would like to contribute to this project, feel free to submit a pull request. Before submitting a pull request, please ensure that your code is well-documented and adheres to the project's coding standards.
This project is licensed under the MIT License.