Skip to content

Heat is a platform built to manage fan expectation for an event in real time.

License

Notifications You must be signed in to change notification settings

Silvio-Ronaldo/Heat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heat 🔥

🔥 Create rooms for your events and monitor the crowd's excitement with Heat 🔥
Practical project for study

Heat is released under the MIT license Heat is currently maintained by Silvio Ronaldo This is the number of forks in this repository This is the number of stars in this repository Badges are awesome

📋 Table of contents


🤔 How it works

Are you going to organize an event and want to stimulate the crowd's excitement? Just create a room in Heat!

Create a custom room for your event and make the code available to everyone and you're done.

With the code, anyone can enter the room and say what's waiting for your event.


🖥️ Demonstration

Web

Heat web


Heat web


📆 Upcoming features

New screens in mobile app to support new backend features


🕹️ Running locally

Prerequisites

  1. Installing Git: You need to have Git on your machine to perform a few steps. To download Git, click here.

  2. Installing Node: To run the server you will need Node.js, to download it, click here.

  3. Installing Expo: To run the mobile, you need to install the Expo, click here.

  4. Installing Yarn 1: Yarn is a package manager that you can download directly from the website by clicking here. If you prefer, use the NPM.

  5. Code Editor (optional): Make sure you have a code editor of your choice. I recommend using the VS Code. If you need to, download it here.

🎲 Running the backend server

  1. In a terminal, clone this repository:

    git clone https://github.com/Silvio-Ronaldo/Heat.git

  2. Enter the project folder:

    cd Heat

  3. Enter the server folder:

    cd heat-api

  4. Install all dependencies:

    yarn install or yarn

  5. Start the SQLite database with all migrations using Prisma:

    yarn prisma migrate dev

  6. Start the development server:

    yarn dev

  7. After these steps, the server should start at the 3333 port.

⚛️ Running the React app with Vite

  1. If you have already cloned the repository, open in another terminal window, otherwise, see first step in 'Running the backend server'.
  2. Enter the project folder:

    cd Heat

  3. Enter the web folder:

    cd heat-web

  4. Install all dependencies:

    yarn install or yarn

  5. Start the web development server:

    yarn dev

  6. After these steps, the server should start at the 3000 port, open the browser and access http://localhost:3000.

📱 Running the Mobile app

  1. With the Expo installed, according to the documentation, follow. Otherwise, see first step in 'Running the backend server'.
  2. Enter the project folder:

    cd Heat

  3. Enter the mobile folder:

    cd heat-app

  4. Install all dependencies:

    yarn install or yarn

  5. Start the mobile development server:

    yarn start

  6. After these steps, the mobile application must start on your emulator or on your device, according to your choice.

😼 Configuring OAuth App on Github

  1. To login with Github, you need to create an OAuth App. To do this, click on your user's avatar in the upper-right corner.
  2. Select Settings. Then, in the left menu click on Developer Settings.
  3. Click on OAuth Apps and create a new app.
  4. Enter the name and description you want.
  5. In Homepage URL, type: http://localhost:3333
  6. In Authorization Callback URL, type: http://localhost:3000/loading
  7. That's it, you've set up an OAuth App.

🧷 Connecting your OAuth App to Heat

  1. IMPORTANT: Go to the heat-web directory and within src/contexts/auth.tsx replace the constant value of GITHUB_CLIENT_ID with the Client ID value of your newly created OAuth App.
  2. IMPORTANT: Go to the heat-api directory and enter the .env.example file. Rename the file to .env
  3. IMPORTANT: Add your OAuth App's Client ID and Client Secret credentials to GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET, respectively.
  4. IMPORTANT: Go to a hash generator site like MD5 for example and generate a random hash. Add the hash to JWT_SECRET.

🛡️ Technologies

The main tools used in the development of the Heat:


👽 Author

Silvio Ronaldo
Silvio Ronaldo

🍀

Leave your star, fork the project or open a pull request ❤️

Contact me on social networks:

Silvio Ronaldo's Twitter Silvio Ronaldo's LinkedIn


⚖️ License

Heat is MIT licensed, as found in the LICENSE file.

About

Heat is a platform built to manage fan expectation for an event in real time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published