C
C
Comrade
Search
K

Development

Project setup and tests

Tech stack

Backend

  • python 3.7
  • Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast.
  • uvloop - Ultra fast asyncio event loop.
  • elasticsearch-py-async - Backend for elasticsearch-py based on python's asyncio module.

Frontend

  • Vue.js - The Progressive JavaScript Framework
  • Vuetify - Material Design Component Framework
  • Cypress - Fast, easy and reliable testing for anything that runs in a browser. Install Cypress in seconds and take the pain out of front-end testing.

Setting up

Please follow the installation guide from source

Running Tests

Server tests

py.test server

End to end (cypress)

cd e2e
npx cypress run

Linters

flake8

cd server
pipenv run flake8 --ignore=E501

eslint

cd client
npm run lint