Skip to content

TPN-Labs/ProgressPro-API

Repository files navigation

💪🏽 About ProgressPro

📈 Fitness trainers can keep track of their clients' progress with ProgressPro. The app is designed specifically for fitness instructors and allows them to easily monitor and track their clients' performance over time.

🏋🏽 Instructors can input and track their clients' weight and sizes, as well as set fitness goals and monitor progress towards achieving them.

⏰ This app is perfect for busy fitness instructors who want to stay organized and on top of their clients' progress without spending hours on paperwork and manual tracking.

🚀 ProgressPro API (Ktor)

ProgressPro (also known as ProgressP) is a lightweight app that empowers fitness instructors to change lives.

This is a real-world example of implementing a web server using Kotlin. The codebase uses the popular Ktor framework, and it demonstrates the simplicity and efficiency of Kotlin when it comes to building web applications.

The API server exposes a set of endpoints for CRUD operations on a resource, and it also includes examples of handling HTTP requests, parsing JSON, and handling exceptions.

💻 Development

We recommend using IntelliJ for developing, running and testing the app functionalities.

The application was built with:

📁 Project Structure

  + gradle/
      Gradle wrapper properties
  + resources/
      Configuration files for logback and the API server
  + src/
    + api
        Defining accessibile routes
    + config
        All app setups.
    + database
        Database setup
    + models
        Persistence layer and tables definition
    + service
        Logic layer for transforming data
    + util
        Jwt, Handlers, Exception classes (& others)
    - Main.kt <- The main class
  + test/
      Tests for the implemented functionalities

🔨 Building

./gradlew clean build

▶️ Running

./gradlew run

About

The repo uses the popular Ktor framework, being a real-world example of implementing a web server using Kotlin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages