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

https://github.com/victor101106/trick-or-treat

Trick or Treat was a project made for the school's Halloween event where visitors opened the website and were drawn between sweets or challenges.
https://github.com/victor101106/trick-or-treat

2d 2d-game canvas game halloween halloween-game html5-canvas javascript pixel-art pixel-art-game pixelart pixelart-game treat trick

Last synced: 3 months ago
JSON representation

Trick or Treat was a project made for the school's Halloween event where visitors opened the website and were drawn between sweets or challenges.

Awesome Lists containing this project

README

        

Trick or Treat


Trick or Treat


Website for a giveaway between sweets and challenges!





## Content Table

- [Description](#description)
- [Screenshots](#screenshots)
- [Requirements](#requirements)
- [Getting Started](#getting-started)
- [Environment Variables](#environment-variables)
- [Conventional Commits](#conventional-commits)
- [License](#license)
- [Contact](#contact)

## Description

Trick or Treat was a project made for the school's Halloween event where visitors opened the website and were drawn between sweets or challenges.

## Screenshots

Screenshot
Screenshot
Screenshot

## Requirements

1. `NodeJS >= v16.x`
2. `npm >= v8.x`

## Getting Started

Follow the step-by-step instructions to set up and run the project:

1. Clone the repository:

```bash
git clone https://github.com/Victor101106/Trick-or-Treat.git
```

2. Install dependencies:

```bash
npm install
```

3. Configure environment variables:

- Copy `.env.example` file and rename it to `.env`:

```bash
cp .env.example .env
```

- Update the `.env` file with the required values. Refer to the [Environment Variables](#environment-variables) for details.

4. Run the project:

```bash
npm run server
```

## Environment Variables

To run the project correctly, you must set the required environment variables. Create a `.env` file in the root directory based on the `.env.example` file. Below is a description of the required variables:

| Variable | Description | Example Value |
|----------|---------------------------------------|-------------- |
| `PORT` | The port where the server will listen | `3030` |

## Conventional Commits

This project follows the [Conventional Commits](https://www.conventionalcommits.org/) specification to maintain a clean and consistent commit history.

### Commitizen: How to Use

1. Stage your changes:

```bash
git add [...]
```

2. Commit using `Commitizen`:

```bash
npm run git:commit
```

3. Follow the interactive prompts.
`Commitizen` will guide you through crafting a proper commit message.

### Message Structure

The commit message should be structured as follows:

```bash
[optional scope]:

[optional body]

[optional footer(s)]
```

#### Example:
```bash
feat(auth): add login functionality
```

## License

Distributed under the MIT license. See [LICENSE](LICENSE.md) for more information.

## Contact

Victor Gabriel • [Github](https://github.com/Victor101106/) • [email protected]