Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
/ api-legacy Public archive

getkenko/api-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Legal Notice / Licensing Warning

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.

Correct License

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.

Important Notes

  • 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.


Kenko API

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.

Documentation

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.

Building

To build the API you're expected to have some basic knowledge of how Rust, Axum, Postgres, and REST APIs work.

  1. Generate asymmetric key pair for JWT signing/verification
./keys/generate.sh
  1. Copy .env.example to .env and change the DATABASE_URL to your Postgres credentials

  2. Point redis_url in config.toml to your running Redis instance

  3. Execute all migrations (in order) from ./migrations/ directory

  4. Run the development server

cargo run
  1. Build the API for production
cargo build --release

License

This project is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).

You can read more in LICENSE file.

About

Legacy REST API for Kenko mobile app

Resources

License

Stars

Watchers

Forks

Contributors