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

https://github.com/barbapapazes/starter-nitro

An opinionated starter to create Nitro server
https://github.com/barbapapazes/starter-nitro

nitro starter template unjs

Last synced: 6 months ago
JSON representation

An opinionated starter to create Nitro server

Awesome Lists containing this project

README

          

# Opinionated Nitro Starter

**Ready to start your next project with Nitro?** This starter is a great place to start.

Look at the [Nitro documentation](https://nitro.unjs.io/) to learn more and do not forget to change the README.md and, LICENSE.md and package.json files.

## Features

- CI with GitHub Actions
- [Autofix](https://autofix.ci) ready
- Preconfigured ESLint with [@antfu/eslint-config](https://github.com/antfu/eslint-config)

## Setup

Make sure to install the dependencies:

```bash
# pnpm
pnpm install
```

## Development

Start the development server on `http://localhost:3000`

```bash
pnpm run dev
```

## Linting

Run ESLint:

```bash
pnpm run lint
```

Fix ESLint errors:

```bash
pnpm run lint:fix
```

## Production

Build the application for production:

```bash
pnpm run build
```

Locally preview production build:

```bash
pnpm run preview
```

Check out the [deployment documentation](https://nitro.unjs.io/deploy) for more information.