Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.51 KB

Readme.MD

File metadata and controls

60 lines (41 loc) · 1.51 KB

SSkin REST API

Deploy to App Engine

API Documentation

Click Here

Tech Stack Used

Steps To Replicate

Prerequisites

  1. A GCP project.
  2. Enabled App Engine API
  3. A PostgreSQL database instance. Can be Cloud SQL or just ordinary dockerized PostgresSQL running on VM.
  4. Deployed model to Vertex AI
  5. Secret Manager that holds environment variables contained in app.yaml
  6. Firebase Project
  7. Default App Engine Service Account keys (.json) with permission to use Vertex AI and Secret Accessor, and Firebase admin.

Development Environment

  1. Install NodeJS 16 in your system
  2. Fork this repository
  3. Clone the forked repository
  4. In the root project directory, run the following command in your terminal
npm i
  1. Then Run the following
npm run start

Production Environment

  1. Open Cloud Shell in your GCP Console
  2. Clone the forked repository
  3. Run the following command
gcloud app deploy

License

MIT