🤪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.jsyou 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_NAMEto an identifying string for the project, this will act as a base directory within the shibuya GCP bucketNeed to set the
GOOGLE_CLOUD_KEY_JSONto 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_URIto a string representing the connection string to access the database, you can get this string by reaching out to a Shibuya employee.
Last updated