Skip to content

DennisSmuda/backytracky-remix

Repository files navigation

Welcome to BackyTracky!

Cypress Tests

OG Image

Development 🛠

After you've cloned/forked the repo, you can do this:

npm run install
npm run dev
# or start the server and open the app in a new browser tab
npm run dev

You'll need a .env file with the following variables:

DATABASE_URL="MYSQL_DB_URL"
SESSION_SECRET="WHATEVER_YOU_WANT"

You should be able to supply a DB that's hosted somewhere. I use PlanetScale but you can check the Prisma Docs for alternatives.

Tests 🧪

Tests run on github actions, everytime a PR gets opened.

There are component-level tests with jest, which also collects the coverage data. You can find them in ./__tests__.

You'll also find Cypress e2e tests in ./cypress.

Contributions 🥁

Feel free to submit PRs or issues 👋