๐Ÿ“ฆ n8n-io / subscription-app

Subscription app

โ˜… 14 stars โ‘‚ 25 forks ๐Ÿ‘ 14 watching
๐Ÿ“ฅ Clone https://github.com/n8n-io/subscription-app.git
HTTPS git clone https://github.com/n8n-io/subscription-app.git
SSH git clone git@github.com:n8n-io/subscription-app.git
CLI gh repo clone n8n-io/subscription-app
Marcin Piechaczek Marcin Piechaczek Merge pull request #40 from n8n-io/staging b972882 5 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ .husky
๐Ÿ“ .vscode
๐Ÿ“ cypress
๐Ÿ“ public
๐Ÿ“ src
๐Ÿ“„ .env
๐Ÿ“„ .env.production
๐Ÿ“„ .env.test
๐Ÿ“„ .eslintrc.cjs
๐Ÿ“„ .gitignore
๐Ÿ“„ .prettierrc.json
๐Ÿ“„ cypress.config.ts
๐Ÿ“„ env.d.ts
๐Ÿ“„ index.html
๐Ÿ“„ package-lock.json
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ RELEASE.md
๐Ÿ“„ tsconfig.app.json
๐Ÿ“„ tsconfig.json
๐Ÿ“„ vite.config.ts
๐Ÿ“„ README.md

Subscription App

FrontendApp to purchase licenses for n8n.

Production env

Staging env

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Staging

npm run build:test

Type-Check, Compile and Minify for Production

npm run build:prod

Run Unit Tests with Vitest

npm run test:unit

Run End-to-End Tests with Cypress

npm run test:e2e:dev

This runs the end-to-end tests against the Vite development server. It is much faster than the production build.

But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):

npm run build
npm run test:e2e

Lint with ESLint

npm run lint