This repository is a re-upload of the original Kenko API source code.
The project was previously published without authorization and under an incorrect license.
That licensing was invalid and does not reflect the actual terms under which this code was created and distributed.
This project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.
All prior distributions under MIT should be considered incorrect and legally void.
- This repository represents the official and authorized version of the project.
- The licensing has been corrected to reflect the original intent and legal status.
- If you have obtained this code from another source under different terms, please refer to this repository as the canonical source of truth.
For full license terms, see the LICENSE file.
This is an official repository containing source code of the Kenko mobile app's API.
It's written in Rust using Axum web framework, SQLx as database driver, PostgreSQL for database, and Redis for caching.
This project was never intended to be made public therefore it lacks any code documentation and comments.
However you can find documentation of the API routes and usage on Postman.
To build the API you're expected to have some basic knowledge of how Rust, Axum, Postgres, and REST APIs work.
- Generate asymmetric key pair for JWT signing/verification
./keys/generate.sh-
Copy
.env.exampleto.envand change theDATABASE_URLto your Postgres credentials -
Point
redis_urlinconfig.tomlto your running Redis instance -
Execute all migrations (in order) from
./migrations/directory -
Run the development server
cargo run- Build the API for production
cargo build --releaseThis project is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).
You can read more in LICENSE file.