https://github.com/karanraj06/social-networking-system
Social Networking System Database
https://github.com/karanraj06/social-networking-system
fastapi postgres
Last synced: 3 months ago
JSON representation
Social Networking System Database
- Host: GitHub
- URL: https://github.com/karanraj06/social-networking-system
- Owner: Karanraj06
- Created: 2023-11-02T00:01:14.000Z (over 2 years ago)
- Default Branch: fastapi
- Last Pushed: 2024-04-19T08:44:24.000Z (about 2 years ago)
- Last Synced: 2025-03-31T19:47:32.555Z (over 1 year ago)
- Topics: fastapi, postgres
- Language: Python
- Homepage:
- Size: 591 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# social-networking-system

## Getting Started
Requires Python 3.10+
1. To get started with this project, run
```bash
git clone https://github.com/Karanraj06/social-networking-system
```
2. Copy `.env.example` to `.env` file and update the variables
```bash
cp .env.example .env
```
3. Install dependencies using pip
```bash
pip install -r requirements.txt
```
Now, change the current working directory to `app`
4. Run the FastAPI Server with Uvicorn
```bash
uvicorn main:app --reload
```
Open http://localhost:8000/docs to view the API documentation
5. Create tables and seed the database
```bash
python crud.py
```
## Database Insider
1. Clone the repository
```bash
git clone https://github.com/Karanraj06/social-networking-system -b prisma
```
2. Start the app
```bash
npx prisma studio
# or
bunx prisma studio
```
Open http://localhost:5555 to view it in your browser
## Authors
- Atharva Suhas Mulay ([@AtharvaMulay25](https://github.com/AtharvaMulay25))
- Karanraj Mehta ([@Karanraj06](https://github.com/Karanraj06))
- Sahil Mangla ([@SahilMangla14](https://github.com/SahilMangla14))
- Harsh Raj Srivastava ([@Harsh290803](https://github.com/Harsh290803))