- Install Visual Studio Code
- Install recommended Visual Studio Code extensions
-
- For Windows: Install
nvm-windows
1.1.9 or later - For other operating systems: Install
nvm
0.39.2 or later
- For Windows: Install
- Clone this repository
- Run inside your clone of this repository:
nvm install && nvm use && npm install && npm run dev
- Open a browser with CORS disabled. Example for Chrome:
--disable-web-security --user-data-dir="/tmp/google"
- Visit
http://localhost:4437
Important
The mobile app uses native HTTP requests which allows accessing CORS-protected content without any restrictions. The only way to mimic this behavior in a browser is to disable CORS.
- Install Android Studio using default settings
- Pair your device with Android Studio
- Complete all steps for Local Development
- Run
npm run launch
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.
Appending #date=
followed by a string compatible for the new Date()
constructor can be used to fake a current point in time. Per real 1 second, 20 minutes will pass in the app.
Example:
#date=2024-01-18%2000:00:00
would result in the middle of AGDQ2024.
npm install
npm run dev
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Playwright
# run once:
npx playwright install
# run to execute tests
npm run test:e2e
Lint with ESLint
npm run lint
This project is tested with Browserstack.