Skip to content

QrContest23 is an contest where you collect cards by finding hidden QR codes. The app was made for 14'th edition of Fantasmagoria fantasy convention held in Gniezno, Poland, 2024.

License

Notifications You must be signed in to change notification settings

dabalroman/QrContest23

Repository files navigation

QrContest23

QrContest23 is an app made for 13'th edition of Fantasmagoria fantasy convention held in Gniezno, Poland (2023). It's fourth edition of QrContest, previous hence the name is combined with 2023 year.

Previous ones in short:

  1. QrContest 2017, ZSEO high school. PHP / MySql / Bootstrap.
  2. QrContest 2018, ZSEO high school. PHP / MySql / React / Bootstrap.
  3. QrContest 2022, 12'th Fantasmagoria fantasy convention. PHP / Laravel / MySql / React with TS / Mantine.
  4. QrContest 2023, 13'th Fantasmagoria fantasy convention. Next.js / React with TS / Firestore / Vercel / Tailwind.
  5. QrContest 2024, 14'th Fantasmagoria fantasy convention. Next.js / React with TS / Firestore / Vercel / Tailwind.

Tech stack

  • React with TS
  • next.js
  • Firestore
  • Vercel
  • Tailwind CSS
  • Content generated using Stable Diffusion / BlueWillow / ChatGPT.

Run app

npm run dev

Emulator

npm install -g firebase-tools
npm run emulators

Functions

Remember to build functions before use in emulator.

# /functions
npm run build
npm run build:watch

Deployment to Firebase

App

firebase deploy --only hosting,firestore

Functions

firebase deploy --only functions

Debugging

If deploy fails in weird ways (half-baked deploys, broken app, connection errors on prod), double check if the firebase-tools are up-to-date.

npm install -g firebase-tools

If deploy fails with 401 code, try to log in to firebase again.

firebase login --reauth

About

QrContest23 is an contest where you collect cards by finding hidden QR codes. The app was made for 14'th edition of Fantasmagoria fantasy convention held in Gniezno, Poland, 2024.

Topics

Resources

License

Stars

Watchers

Forks