Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/anav5704/clicker-firebase

Real-time button clicker game
https://github.com/anav5704/clicker-firebase

astro firebase tailwindcss

Last synced: about 1 month ago
JSON representation

Real-time button clicker game

Awesome Lists containing this project

README

        

# Clicker Game 🖱️

![hero](https://github.com/anav5704/Clicker-Firebase/blob/main/docs/clicker-firebase.png)

This is a simple button clicker game made using Firebase real-time. Users can log in/register using Firebase auth and then click to earn points and upgrade to better buttons. There is also a real-time leaderboard that updates when users save their scores. Also please don't use Firebase. It's okay if you want to give it a try but trust me [Supabase](https://supabase.com) is way better in every way - and it's open source.

## Technologies Used

- Astro JS
- TailwindCSS
- Firebase

## Getting Started

First fork and clone the repo. First run ```npm install``` to download all the dependencies. Now add the Firebase config in ```src/firebase/client.ts``` using the information provided in your Firebase project console:

```
const firebaseConfig = {
apiKey: "___",
authDomain: "___",
projectId: "___",
storageBucket: "___",
messagingSenderId: "___",
appId: "___"
};
```

Once that is done, run ```npm start``` to view it on localhost.

## Learning Resources

- [Firebase crash course](https://youtube.com/playlist?list=PL4cUxeGkcC9jERUGvbudErNCeSZHWUVlb&si=ZE3FOb1aylgg2IjJ)
- [Firebae in 100 seconds](https://www.youtube.com/watch?v=vAoB4VbhRzM)
- [Firebase docs](https://firebase.google.com)