Skip to content

Cranio-worldwide/backend

Repository files navigation

Cranio-WorldWide project - backend

Web-site for internation federation of therapists: helps patients to find a therapist nearby

Technologies

image image image image

MVP Features

  • Internationalization using i18n (English & Russian);
  • Automated translation/transliteration of models into supported languages;
  • Determine user geolocation by IP-address;
  • Authentification using JWT;
  • Models: Users with Addresses & Services, News;
  • Search via geolocation with flexible radius and price range;

Setup for developers

>>> Clone project repository:
git clone git@github.com:Cranio-worldwide/backend.git
>>> Open folder with project, create docker container and apply migrations:
cd backend
docker-compose up -d --build
docker-compose exec backend python manage.py migrate

Fill DB with fixtures for tests

docker-compose exec backend python manage.py loaddata fixtures.json

.env file template

DB_ENGINE=django.db.backends.postgresql
DB_NAME=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DB_HOST=db
DB_PORT=5432
SECRET_KEY='djangosercretkey!!1'

EMAIL_HOST_USER=youremail@domain.com
EMAIL_HOST_PASSWORD=passwordhere
EMAIL_HOST=smtp.provider.com
EMAIL_PORT=587

API Documentation

http://127.0.0.1:8000/redoc/ http://127.0.0.1:8000/swagger/

New features coming up soon

TBD

About

Searching for cranio-sacral therapist nearby. Multilang support, autotranslations of profile

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6