Welcome to the wattpm-express-demo repository! This guide will help you use wattpm with Express v5 and a Next.js app.
This repository demonstrates how to integrate wattpm in an Express v5 and Next.js application. It includes a quick start guide for getting up and running efficiently.
To install the necessary dependencies, run the following command:
pnpm install
To build the application, execute:
pnpm run build
To start the application, use:
pnpm run start
Once the application is running, you can explore its components:
- Access the Next.js app at http://localhost:3042/web
- Access the Express API at http://localhost:3042/express/api
This repository is set up with pre-commit hooks to ensure code quality and consistency. Make sure to install the hooks by running:
pre-commit install
To deploy the application to Fly.io,
flyctl launch
For more information, refer to the Watt Quick Start guide from the official documentation.
We welcome contributions! Please see our contributing guidelines for more details.
Give a ⭐️ if this project helped you!