Skip to content

michaellimair/indome-form

Repository files navigation

InDome Form

Form made for the InDome 2023: Euphoria event. Made with Next.js, Tailwind CSS, Flowbite React, and Mongoose. Deployed in Google Cloud Run with a MongoDB Cloud database and Google Cloud Storage for object storage.

Secrets for deployment are stored locally in .env (copy from .env.example), but Google Cloud Secret Manager is used to manage environment variables being used in Google Cloud Run.

How to use

yarn
yarn dev

Deployment

gcloud builds submit --tag gcr.io/$PROJECT_ID/$SERVICENAME --project $PROJECT_ID --async
gcloud run deploy --image gcr.io/$PROJECT_ID/$SERVICENAME --project $PROJECT_ID --platform managed --region $REGION --set-secrets=INDOME_DB_NAME=INDOME_DB_NAME:latest,INDOME_MONGODB_URI=INDOME_MONGODB_URI:latest,INDOME_GCP_BUCKET=INDOME_GCP_BUCKET:latest,INDOME_ADMIN_SECRET=INDOME_ADMIN_SECRET:latest,GOOGLE_CLIENT_ID=GOOGLE_CLIENT_ID:latest,GOOGLE_CLIENT_SECRET=GOOGLE_CLIENT_SECRET:latest,GOOGLE_REFRESH_TOKEN=GOOGLE_REFRESH_TOKEN:latest --allow-unauthenticated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published