/turple-client-app

Decentralized Video Ads Network On Theta. The Web3 Solution to Advertising.

Primary LanguageVue

Turple client side application

Turple is a fully decentralized ads network built on the Theta Network technologies which helps advertisers to create and launch their video ad campaigns, while publishers can use them to monetize their dApps by displaying ads.

Turple unlocks an attractive option for advertisers and publishers who want to have more control over their advertising campaigns and earn more revenue without the need for intermediaries.

Learn more about this project on Devpost

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Run End-to-End Tests with Playwright

# Install browsers for the first run
npx playwright install

# When testing on CI, must build the project first
npm run build

# Runs the end-to-end tests
npm run test:e2e
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Runs the tests in debug mode
npm run test:e2e -- --debug

Lint with ESLint

npm run lint