Skip to content

dalcyn/dalcyn-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository only holds the backend of the app.

This backend will serve the APIs to both mobile and web frontends

To use the server:

Python 3.8.5+ is required

  1. Download the code

  2. Make a python environment

python3 -m venv <environment name>

  1. Activate the environment

    • For Windows:

    ./<environment name>/Scripts/activate

    • For Linux:

    source <environment name>/bin/activate

  2. Download the requirements

pip install -r requirements.txt

  1. Run migrations to create sqlite database

python3 ./manage.py migrate

  1. Run server

python3 ./manage.py runserver

API documentation is available at /api_doc and documentation with Swagger UI at /api_doc_swagger

About

The Backend of Dalcyn App for Farmers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published