Go to file
Khyati ead13feac0 master 2024-11-30 11:00:54 +05:30
gateway master 2024-11-30 11:00:54 +05:30
.gitignore master 2024-11-30 11:00:54 +05:30
README.md master 2024-11-30 11:00:54 +05:30

README.md

django-gateway-placeholder

  • for every new service, add that in .env, common_for_service.py, urls.py
  • for every new model in perticular service, add in urls.py, that service's view.py

Roles

  • Superuser
  • Backoffice
  • User

Remember

  • add new model in apps.py of app
  • new seed file is must listed in seed_all file in sequence

django-placehoder includes

  • .env (local, development, stage, production)
  • requirements.txt
  • Test api and address api both connected with FK
  • filter
  • swagger
  • permissions, roles
  • security app(for token and authentication)
  • seed data and fakers
  • display reference name for FK (code is in serializer)
  • CORS header and pagination
  • static files
  • changeMyPassword
  • forget password (some changes must requires, 1- settings.py change email id and application password. from that mail link will be sent. 2- view.py change server link http://127.0.0.1:8001/)
  • checkUserUser
  • userProfile with contact_no field which is associated with user model
  • createUser without authentication
  • websocket - django channels (base.py, asgi.py, api/websocket (routings.py works like urls.py and consumers.py works like views.py))

seed_files

  • api/management/commands (python manage.py seed_test 3) <-- it will generate 3 records for test model. (python manage.py seed_all 5) <-- it will generate 5 records for all models.