https://github.com/jellydn/wattpm-express-demo
Watt Quick Start
https://github.com/jellydn/wattpm-express-demo
expressjs nextjs nodejs wattpm
Last synced: 3 months ago
JSON representation
Watt Quick Start
- Host: GitHub
- URL: https://github.com/jellydn/wattpm-express-demo
- Owner: jellydn
- Created: 2024-09-28T08:45:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-02T10:04:04.000Z (3 months ago)
- Last Synced: 2025-07-02T11:22:42.660Z (3 months ago)
- Topics: expressjs, nextjs, nodejs, wattpm
- Language: TypeScript
- Homepage: https://wattpm-demo.fly.dev/web
- Size: 1.41 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Welcome to wattpm-express-demo 👋
[](https://www.youtube.com/watch?v=b7sZ3OfZ4KM)
Welcome to the wattpm-express-demo repository! This guide will help you use wattpm with Express v5 and a Next.js app.
## Overview
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.
## Getting Started
### Installation
To install the necessary dependencies, run the following command:
```sh
pnpm install
```### Build
To build the application, execute:
```sh
pnpm run build
```### Start
To start the application, use:
```sh
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## Pre-Commit Hooks
This repository is set up with pre-commit hooks to ensure code quality and consistency. Make sure to install the hooks by running:
```sh
pre-commit install
```## Deployment
To deploy the application to Fly.io,
```sh
flyctl launch
```## Resources
For more information, refer to the [Watt Quick Start](https://docs.platformatic.dev/docs/getting-started/quick-start-watt) guide from the official documentation.
## Contributing
We welcome contributions! Please see our contributing guidelines for more details.
## Show your support
Give a ⭐️ if this project helped you!