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

https://github.com/compilorama/polang-website

Polang website
https://github.com/compilorama/polang-website

Last synced: about 1 month ago
JSON representation

Polang website

Awesome Lists containing this project

README

          

# Polang Website

## What is it

This repository contains the source code for Polang’s website and also serves as a real-world example of how to use the library. Feel free to explore the codebase and see how each Polang component—such as the Provider, Translation Hook, and LocaleSelect—is implemented in practice.

If you want to learn more about the library's API, refer to the [Polang repository](https://github.com/compilorama/polang).

## How to contribute

### Requirements

You need Node.js 22.x or later.

### Setup

1. Clone the repository:

```bash
git clone https://github.com/compilorama/polang-website.git
cd polang-website
```

2. Install dependencies:

```bash
npm install
```

3. Start the development server:

```bash
npm start
```

The app will be available at `http://localhost:5173`.

### Other commands

| Command | Description |
|---|---|
| `npm test` | Run the test suite |
| `npm run format` | Check and report code formatting issues via ESLint |
| `npm run build` | Build the app for production into the `dist/` folder |