your-analytics
Architecture
Please refer to #1.
Development
Follow the steps outlined in the chapters below, then click the Gitpod link above. This will open your development environment, install dependencies and start all necessary services. The web application is available on port 3000. Use the "Open Ports" tab next to the terminal in Gitpod to open a new browser tab on port 3000.
FaunaDB
- Create a
your-analytics-dev
database at https://fauna.com. - In your Gitpod.io account, set the following environment variables:
YA_FAUNADB_ADMIN_SECRET
: Follow instructions hereYA_FAUNADB_SERVER_SECRET
: Follow instructions here
Magic Link
- Create an account at https://magic.link.
- In your Gitpod.io account, set the following environment variable:
YA_MAGIC_SECRET_KEY
: Your Magic TEST_SECRET_KEY value
Tests
All test results are publicly available on the Cypress Dashboard.