gurupratap-matharu / falcon

Argentina Intercity Bus Platform
1 stars 0 forks source link

Falcon

All in one platform for intercity bus operators

drawing

codecov

Demo

Live

Documentation

Documentation

Development setup πŸ› 

Steps to locally setup development after cloning the project.

Create a virtualenv with python 3.10+ and activate it

python -m venv venv
source venv/bin/activate

Then start the server with

make build

This single command should

Testing πŸ§ͺ

We use the classic unit test framework to run django tests testing each endpoint
The broad approach is to create mock data for each test with setup and check specific
test case. Although in production scenario you would add integration or End to end testing.

To run the entire test suite in one go simply run
make test

CI/CD? ♾️

You can actually run our continous integration by executing
make ci
This should run

- formatting pipeline
- linting pipeline
- testing
- coverage

Coverage πŸŽͺ

The CI pipeline itself runs all the tests for the project and generates an html report
in the root directory of the project.

Admin Interface πŸ‘©β€πŸ’Ό

make superuser

Provide a username, password, email and then you can access admin at http://localhost:8000/admin/

Features ✨