Skip to content

Ktor: Backend & Web Services for Android Application of IIIT Nagpur

Notifications You must be signed in to change notification settings

4shutosh/CollegeAppBackend

Repository files navigation

CollegeAppBackend

Backend and other services for CollegeAppIIITN using Ktor 💙

Plugins Used:

  • Server: Netty
  • Authentication: JWT Token
  • Serialization: Ktor Serialization & GSON
  • EngineMain as main runner
  • Koin for dependency Injection
  • MongoDB as primary Database: KMongo (a kotlin toolkit for mongo)
  • Kotlin Coroutines
  • CORS
  • Call Logging: Ktor Server Call Logging
  • Content Negotiation
  • Gradle KTS

Hosted on Heroku (Official documentation)

Steps other than the documentation to host on heroku:

  • make sure heroku CLI is installed
  • setup env variables
  • adding the Procfile for the script along with the correct build/install/<package-name> location
MONGO_URL = <mongo db hosted connect url, atlas, aws anything>
JWT_SECRET = <some jwt secret here>
PORT = <4200>

and some other env variables if you want
  • deployment works only on main and master branches on heroku

Releases

No releases published

Packages

No packages published

Languages