Skip to content

Rafagf/FlightPlanner

Repository files navigation

FlightPlanner

Note: An article about FlightPlanner has been featured by Kotlin Weekly (#241), thanks! 🙏

Flight planner helps you keep track of your flights. It is a personal pet project that can be used as a guide to build a backend, API and a web using Ktor. I've described the whole process in this article, which was featured by the official Kotlin twitter account

Flight Planner

API

Although the website does not use it, an API has been provided to login and add new flights. It uses JWT for authentication.

By doing a POST in /login with your username and password you'll get your token to then do POST in /api/v1/flights and add new flights into your account.

Next steps

  • Error handling is almost non-existent in the API side.
  • No unit-tests
  • The front-end could get a lot more love.
  • Add more endpoints to the API (i.e POST /signup or DELETE /flights/{userId}/{flightId})
  • Build a mobile client (Android/iOS app).

About

A flight planner site using Ktor (https://ktor.io)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published