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

https://github.com/oradwell/jazle

JavaScript library guessing game, a Wordle clone.
https://github.com/oradwell/jazle

create-react-app javascript react typescript wordle wordle-clone wordle-game

Last synced: 6 months ago
JSON representation

JavaScript library guessing game, a Wordle clone.

Awesome Lists containing this project

README

          

# Jazle

JavaScript library guessing game, a Wordle clone.

See the list of accepted libraries: [wordlist.ts](src/constants/wordlist.ts)

## Build and run

### Run locally

Clone the repository and perform the following command line actions:

```bash
npm install
npm run start
```

### Docker

#### Local

For local builds use the following commands:

```bash
docker build . -t jazle
docker run -p 3000:3000 jazle
```

Open http://localhost:3000 in your browser.

#### Production

Production builds run on nginx

```bash
# Build node container
docker build . -t jazle-base --target base
# Install dependencies and package the app
docker run -v$(pwd):/app:Z jazle-base sh -c 'npm install && npm run build'

# Build production container
docker build . -f Dockerfile.prod -t jazle
# Run production container
docker run -p 3000:80 jazle
```

## Test and Lint

### Run the tests

```bash
npm run test
```

### Linting

```bash
npm run lint
```