How to Run the Digital Sky API App on Localhost


#1

Hey, I am new here. I am trying to test my NPNT implementation. So, recently I found a iSpirit repository(github.com/iSPIRT/digital-sky-api) on Github. I tried to set up the app on my localhost, ran in it locally using the given Dockerfile and it crashes. I don’t know how spring boot applications works, so i am unable to figure out the issue can you guys help in setting up this app.

I also followed steps from github.com/iSPIRT/digital-sky-deployment/blob/master/InitialSetup.txt but still not working!

This is the error i am receiving
Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost:3306/digitalsky?useSSL=false) for user 'digitalsky': Communications link failure
Even though Mysql is running!

Any help would be appreciated. Thank you.


#2

This API is meant for use with the server of DGCA as per the documentation. Have a look at this, the base URL is https://digitalsky.dgca.gov.in/

Here’s the link to documentation: https://digitalsky.dgca.gov.in/api-documentation