Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Frontend

AOrps edited this page Apr 26, 2022 · 7 revisions

Directory Location

  • src/front-end

Requirements

  • Google oauth2 credentials { CLIENT_ID + CLIENT_SECRET }
  • .env file

Environment Variables

  • Be sure to create a .env file in src/front-end (or wherever the Go code is placed)
touch .env
  • .env must have 5 environment variables
    • GOOGLE_CLIENT_ID, this is
    • GOOGLE_CLIENT_SECRET
    • SESSION_KEY
    • BENDPOINT
    • TYPE

TLDR

cd src/front-end
cat <<EOF > .env
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
SESSION_KEY=""
BENDPOINT=""
TYPE=""
EOF

Clone this wiki locally