Categorygithub.com/GunalKupta/TAMUhack22-checkup-cloudsql-api
modulepackage
0.0.0-20220130155939-c96899e65174
Repository: https://github.com/gunalkupta/tamuhack22-checkup-cloudsql-api.git
Documentation: pkg.go.dev

# README

Cloud SQL API for CheckUp

This microservice was developed as part of our TAMUhack 2022 project which utilized Google Cloud Platform to access a Cloud PostgreSQL instance, which stores the data for our project, CheckUp.

The API is simple and has three primary endpoints:

  • POST /insert - insert data into the database
  • GET /select - query data from the database
  • POST /update - update data in the database

# Functions

GetDataForUsername selects the data associated with the given username.
InsertRow inserts the data into the database.
SetupDatabase sets up the database connection if it doesn't already exist.
No description provided by the author

# Structs

No description provided by the author