This is a social app written in React that allows users to upload and share posts, send friend requests, and chat on DM. The app uses various technologies including React, CSS, Firebase, MongoDb, Postgres, and Asp.NET WEB API.
- React
- TailwindCSS
- Firebase Auth
- Postgres
- Asp.NET WEB API
- GetSreamIO
Before you can run this project, you need to set up the following environment variables:
VITE_RAPID_URL
: The URL for the Rapid API service.VITE_RAPID_HOST
: The host name for the Rapid API service.VITE_RAPID_KEY
: Your API key for the Rapid API service.VITE_STREAM_KEY
: The stream key for your application.VITE_API_DOMAIN
: The domain for your API.
Follow these steps to set up the environment variables:
- Create a file named
.env
in the root directory of the project. - Open the
.env
file in a text editor.
VITE_RAPID_URL=your_rapid_url
VITE_RAPID_HOST=your_rapid_host
VITE_RAPID_KEY=your_rapid_key
VITE_STREAM_KEY=your_stream_key
VITE_API_DOMAIN=your_api_domain
To successfully set up the environment variables, you need to obtain specific values for each variable. Follow the instructions below to acquire them:
- Visit RapidAPI Documentation to create an account and log in.
- Follow the documentation to find the RapidAPI service you need for your project.
- Obtain the
VITE_RAPID_URL
,VITE_RAPID_HOST
, andVITE_RAPID_KEY
values provided by RapidAPI.
- Go to GetStream and create an account or log in.
- Follow their documentation to create a new application.
- Obtain the
VITE_STREAM_KEY
from your GetStream application.
- Clone the backend repository for your project by running the following command:
git clone https://github.com/Re1nGer/SocialAppBackend.git
To get started with this app, follow the instructions below:
Make sure you have installed the following software on your machine:
- Node.js
- Git
- Clone this repository using Git:
git clone https://github.com/your-username/your-repo.git
- Navigate to the project directory:
cd your-repo
- Install dependencies:
npm install
- Start the app:
npm start
- Note you need to get NewsCatcherAPI to get Feed Page working correcrtly
The app should now be running on http://127.0.0.1:5173/ in your browser.
- Dalle II integtated for image generation
- Rapid API for generating caption out of image
- Google SignIn
- Post Creating
- Post liking and commenting
- Friend requests
- DM chat
If you are interested in contributing to this project, please fork the repository and submit a pull request. We welcome contributions of all types, including bug fixes, feature requests, and documentation improvements.
This project is licensed under the MIT License - see the LICENSE file for details.