The ShapeTeam project consists of developing a social network platform aimed at people interested in finding training partners for different physical exercises. The platform will allow users to create profiles, find workout partners with similar interests, schedule workout sessions, share experiences and motivate each other to achieve their fitness goals.
- Python3.11: Language.
- Django Rest Framework: To create the API.
- PostgreSQL: Database.
- Redis: Database NoSQL.
- Knox: Authentify.
-
Clone the repository:
git clone https://github.com/leonardobarrosdev/ShapeteamAPI
-
Navigate to the project folder:
cd ShapeteamAPI -
Virtual environment: For managing Python dependencies and creating isolated environments, we use
uv, a fast Python package installer and resolver written in Rust. It provides better performance and reliability compared to traditional tools. [uv documentation][https://github.com/astral-sh/uv] -
Install requirements:
uv install source .venv/bin/activate -
Gerenerate a
.envlocal based in .env.example -
Sicronize the database:
python manage.py migrate
-
Create a User (System Admin):
python manage.py createsuperuser
-
You can populate the database:
python manage.py loaddata shapeteam/fixtures/*.json ```] Obs: Not realize this comand (9) for production.
-
Run the development server:
python manage.py runserver- User authentication
- Find workout partners with similar interests
- Schedule workout sessions
- Invite partner for workout sessions
- share experiences
- Chat one to one
This API can be easily hosted on platforms like Render, Netlify or any other service. Obs: Use gunicorn
This project it's licenced by MIT License, allowing free use and modification, as long as copyright is maintained.
If you need more help, just let me know!