beecash

Running Locally

  • Install Python3.7 and pipenv (for MacOS)
    brew install python3

`brew install pipenv`
  • Clone the Repo and cd into the directory

  • Setup virtual environment for this project
    pipenv shell

  • Install all dependencies
    pipenv install

  • Copy .env.template to .env and modify the various settings as per your system credentials

Run server

  • invoke rs
  • go to localhost:8000/

Swagger Docs

Folder Structure

  • repos for any DB interaction
  • models for defining DB Table structure
  • serializers for request/response validation
  • interactors for any Business Logic
  • views for defining API handlers and processing Request/Response
  • urls for routing request to given view method

Design Details

  • Using Django Rest Framework for providing crisp and thin API layers
  • Followed Interactor/Repo pattern