Zauberstack documentation
  • Getting started
    • Introduction
    • Installation
    • Project structure (coming soon)
    • Useful commands (coming soon)
    • Getting updates (coming soon)
  • Backend server
    • Tech stack
    • Scripts
    • CLI Tools (coming soon)
    • Authentication (coming soon)
    • Roles and Permissions (coming soon)
    • GraphQL (coming soon)
    • Error handling (coming soon)
    • Emails (coming soon)
    • File uploads (coming soon)
    • Configuration (coming soon)
    • Tests (coming soon)
    • Database management (coming soon)
  • Zauberweb - Webapp
    • Ingredients
    • Scripts
  • Deployment
    • Preparing the server
    • Configure Gitlab
    • Troubleshooting
  • Recipes
    • Update dependencies
    • Test Stripe locally
    • Working with docker
  • Zauberweb - Marketing Website
    • Ingredients (coming soon)
Powered by GitBook
On this page
  1. Zauberweb - Webapp

Scripts

These scripts let you manage the api. It´s recommended to run these from the project root, e.g.

dev: Starts the development server using Vite.

build: Compiles TypeScript files and builds the application for production using Vite.

serve: Serves the dist directory on port 3000.

format: Formats .ts and .tsx files in the src directory using Prettier.

lint: Lints .ts and .tsx files in the src directory using ESLint and automatically fixes problems where possible.

preview: Previews the production build using Vite.

PreviousIngredientsNextPreparing the server

Last updated 1 year ago