Website for a giveaway between sweets and challenges!
- Description
- Screenshots
- Requirements
- Getting Started
- Environment Variables
- Conventional Commits
- License
- Contact
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.
NodeJS >= v16.x
npm >= v8.x
Follow the step-by-step instructions to set up and run the project:
-
Clone the repository:
git clone https://github.com/Victor101106/Trick-or-Treat.git
-
Install dependencies:
npm install
-
Configure environment variables:
-
Copy
.env.example
file and rename it to.env
:cp .env.example .env
-
Update the
.env
file with the required values. Refer to the Environment Variables for details.
-
-
Run the project:
npm run server
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 |
This project follows the Conventional Commits specification to maintain a clean and consistent commit history.
-
Stage your changes:
git add [<pathspec>...]
-
Commit using
Commitizen
:npm run git:commit
-
Follow the interactive prompts.
Commitizen
will guide you through crafting a proper commit message.
The commit message should be structured as follows:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
feat(auth): add login functionality
Distributed under the MIT license. See LICENSE for more information.
Victor Gabriel • Github • victorgabriel101106+github@gmail.com