Skip to content

Adimac93/hackyeah-2022

Repository files navigation

Hackyeah

Supported platforms

  • Any device which supports Chromium, Gecko or WebKit browsers.

Or

Bellow platforms requires native implementation. See more in native project readme.

  • Android 5.0 (API 21) or higher.
  • iOS 11 or higher, using the latest release of Xcode.
  • macOS 10.15 or higher, using Mac Catalyst.
  • Windows 11 and Windows 10 version 1809 or higher, using Windows UI Library (WinUI) 3.

Dependencies

You must have this dependencies to host application.

  • Node.js 19
  • Playwright latest
  • PostgreSQL 15

Installation

At the beggining you must create .env file in project root directory with environment variable named DATABASE_URL with value of connection to existing PostgreSQL database.

Next you must download all node modules.

npm ci

And finally you must migrate database by executing bellow command:

npx prisma migrate dev

Running

Execute bellow command in repository root path.

npm run dev

After which the application should be available on http://localhost:5173/.

Testing

Commands

  • main npm run test
  • unit npx vitest
  • end-to-end npx playwright

Files

Place end-to-end tests in ./tests/playwright only! Unit tests can be blaced in ./src/** or ./tests/unit

Use <name>.test.ts file format.

About

First hackhaton Hackyeah, took place in Tauron Arena Kraków

Topics

Resources

Stars

Watchers

Forks

Contributors 7