An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

Welcome to wattpm-express-demo 👋

[![IT Man - Sherif: The Secret Weapon for Efficient Monorepo Management](https://i.ytimg.com/vi/b7sZ3OfZ4KM/hqdefault.jpg)](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!