repository
0.0.0-20250122135150-53fac63f1d9c
Repository: https://github.com/questworthy/udise-api.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
UDISE API
API to fetch schools details (from a big query table) based on provided udise id.
Pre-requisite
- Set your GOOGLE_APPLICATION_CREDENTIALS to a GCP service account key.
export GOOGLE_APPLICATION_CREDENTIALS=[project-name-xyz].json
Building
From the root of the source tree, run:
make build/api
Using
make run # runs server
curl localhost:4000/v1/schools/[udise-id] # pings endpoint
Project Structure
bin
contains compiled app binaries, ready for deployment to a production server.cmd/api
contains app-specific code ~ running server, reading & writing requests etc.- internal contains adjunct packages used by the api ~ custom queries, data validation etc.
remote
contains config files & setup scripts for our production server.