Skip to content

Repository files navigation

🏋️ Spotted — Social Fitness App Backend


🚀 Tech Stack

Technology Purpose
Kotlin Backend language
Ktor Web framework
Exposed ORM for PostgreSQL
PostgreSQL Database
JWT Authentication
Bcrypt Password hashing
Swagger UI API documentation

📦 Features

  • 🔐 User registration & login
  • 📸 Uploading posts (2 photos + emoji + optional description)
  • 🔎 Search by username
  • ❤️ Like/unlike posts
  • 💬 Comment on posts
  • 👤 User profile with post previews & friend count
  • 🔐 Protected endpoints with JWT

📄 API Documentation

  • 👉 Open Swagger UI
  • All endpoints, parameters, and response formats are documented

Swagger Screenshot


🗃️ Database Schema

👉 View on dbdiagram.io DB Diagram


🌱 Environment Variables

To run the project set up .env file with the following variables:

DB_URL=localhost:5432
DB_USER=your_username
DB_PASSWORD=your_password
JWT_SECRET=your_jwt_secret

📌 TODO

  • Feed (friends' posts)
  • Friend requests and friendship system
  • Smart username search

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages