Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.17 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.17 KB

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 👋