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

https://github.com/alanmorel/veloce

Veloce: Starter template that uses Vue 3, Vite, TypeScript, SSR, Pinia, Vue Router, Express and Docker
https://github.com/alanmorel/veloce

express pinia ssr typescript vite vue

Last synced: over 1 year ago
JSON representation

Veloce: Starter template that uses Vue 3, Vite, TypeScript, SSR, Pinia, Vue Router, Express and Docker

Awesome Lists containing this project

README

          

# Veloce

- Lightning-fast cold server start
- Instant hot module replacement (HMR) and dev SSR
- True on-demand compilation

## Tech Stack

- `Vue 3`: UI Rendering library
- `Vite` Next-generation front-end tooling
- `TypeScript`: Type-safety
- `SSR`: Server-side rendering
- `Pinia`: State management
- `Vue Router`: Routing library
- `Express`: Node web server
- `Docker`: Containerization

## Getting Started

First, install all dependencies:

```bash
yarn install
```

Then, create a `.env` file:

```bash
NODE_ENV=development
PORT=3000

VITE_PORT=3000
VITE_BASE=http://localhost:3000
```

To start development:

```bash
yarn dev
```

To build for production:

```bash
yarn build
```

To containerize using Docker:

```bash
docker compose up
```