django-backend-activity

==================================================================================== I have created this task using Django and Django rest framework

Setup project environment

  • run $ pyvenv
  • activate environment using $ source /bin/activate

Install required packages

  • keeping your environment activated from the root directory of the project run $ pip install -r requirements/base.txt

Set Environment Variables

  • cd into tratolitask folder and from here run $ export DJANGO_SETTINGS_MODULE='tratolitask.settings.local'

Manually create secrets.json file

Run the server

  • Now you can run the server from tratolitask folder $ python manage.py runserver

APIs

Create a Message