Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.1 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.1 KB

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