Local Development
Local Development
Section titled “Local Development”After installing the dependencies, you can start the development server.
Starting the Dev Server
Section titled “Starting the Dev Server”Run the following command to start the Vite development server:
npm run devThe application will be available at http://localhost:5173.
Environment Variables
Section titled “Environment Variables”You’ll need to set up environment variables for full functionality. Copy the .env.example file to .env:
cp .env.example .envFill in the required fields, including your database connection string and API keys.
Running the API
Section titled “Running the API”If you are working on the backend, you may need to start the API separately:
npm run apiBuilding for Production
Section titled “Building for Production”To create a production build, use:
npm run build