<s>[INST] # LOTTERY-node

# Lottery

## Overview

A simple lottery program, implemented in Node.js, with an API and an interactive user interface.

## Features

*   Play lottery: generate random winning numbers and check if a user's number is a winner.
*   Get lottery history: display a list of all played lottery rounds.
*   Reset lottery: delete all played lottery rounds.

## Quick Start

To begin, navigate to the project directory and install dependencies:

```bash
npm install
```

Seed the lottery database with example data:

```bash
node seed.js
```

Start the lottery API:

```bash
node server.js
```

### Lottery API

*   **GET /lottery/play**\
    Generate random winning numbers and check if a user's number is a winner.\
    Query Parameters:\
    *   `number`: A number from 1 to 49.

### Example API Call

```bash
curl -X GET 'http://localhost:3000/lottery/play?[/INST]