Skip to content

mikaebal/timebank-backend

 
 

Repository files navigation

TimeBank (Back-End)

Backend for our group project built with Django and PostgreSQL.

🤝 Team

  • Dehui Hu
  • Malik Elmessiry
  • Mikaela Baluyot
  • Natasha Gaye

🌐 Overview

The TimeBank API powers a service marketplace where users can exchange time-based services with one another.

It supports features such as:

  • User sign-up and login with authentication
  • Viewing and editing profiles
  • Creating and booking services
  • Browsing services through an interactive map

🛠 Tech Stack

  • Python + Django
  • Django REST Framework
  • PostgreSQL
  • Cloudinary for media upload
  • Render for deployment
📦 Dependencies
asgiref==3.9.1
attrs==25.3.0
certifi==2025.7.14
charset-normalizer==3.4.2
cloudinary==1.44.1
dj-database-url==3.0.1
Django==5.2.4
django-cloudinary-storage==0.3.0
django-cors-headers==4.7.0
django-extensions==4.1
djangorestframework==3.16.0
dotenv==0.9.9
drf-spectacular==0.28.0
drf-spectacular-sidecar==2025.7.1
geographiclib==2.0
geopy==2.4.1
gunicorn==23.0.0
idna==3.10
inflection==0.5.1
jsonschema==4.25.0
jsonschema-specifications==2025.4.1
packaging==25.0
psycopg2-binary==2.9.10
python-dotenv==1.1.1
pytz==2025.2
PyYAML==6.0.2
referencing==0.36.2
requests==2.32.4
rpds-py==0.26.0
six==1.17.0
sqlparse==0.5.3
uritemplate==4.2.0
urllib3==2.5.0
whitenoise==6.9.0

🌍 Deployment

The backend is deployed via Render and accessible at:

You can explore all available endpoints and test them in-browser using Swagger docs:


📌 Related Repos


🚀 Getting Started

  1. Clone the repo:
git clone https://github.com/florasmile/timebanking-backend.git
cd timebanking-backend
  1. Setup and activate virtual environment:
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create PostgreSQL database:
psql postgres
# In psql prompt:
CREATE DATABASE timebanking_development;
\q
  1. Create and configure your database connection in .env:
Copy .env.sample to .env and update as needed
  1. Run migrations:
python manage.py migrate
  1. Start the development server:
python manage.py runserver
  1. Run tests (if applicable):
python manage.py test <app_name>

Thank You! 🤝

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%