🤪Setting Up Environment

Once you have cloned your backend and frontend templates, before you can get to customizing, lets make sure that everything will be setup to run as intended.

Frontend

Configuring backend url

  • In ./next.config.js you need to replace INSERT_ENDPOINT_HERE with the base url where the template API is accessable at

Backend

To get our env variables to be visible in our local deployments, lets create a .env file in the root of our API and set the following variables:

  • Need to set the SHIBUYA_PROJECT_NAME to an identifying string for the project, this will act as a base directory within the shibuya GCP bucket

  • Need to set the GOOGLE_CLOUD_KEY_JSON to a JSON string representing access to the bucket, you can get this string by reaching out to a Shibuya employee.

  • Need to set the MONGO_URI to a string representing the connection string to access the database, you can get this string by reaching out to a Shibuya employee.

Last updated