/hack-yeah-equilibrium

Hackaton project

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Project description

Quiz platform empowered by AI which can answer on all questions related to politics, economics and voting.

Website - https://yeah-elections.vercel.app

Main features -

  1. AI chat which can provide all necessary information related to politics, economics and voting.

  2. Educate young people about upcoming and past Elections and political system via interactive quizzles.

  3. Ability to win free tickets to teater, cinema or zoo in by completing quizzles.

  4. Buy merch, stickers or brochures about elections and strong social position for internal coins.

  5. Reminder about next elections and useful links.

  6. Reward badges passing for reaching certain levels and interaction with app.

How to run project locally

Getting Started

  1. First of all you have to setup keys for Chat GPT API and Google login in next.config.js:
GOOGLE_CLIENT_ID: "GOOGLE_CLIENT_ID",
GOOGLE_CLIENT_SECRET: "GOOGLE_CLIENT_SECRET",
OPENAI_API_KEY: 'OPENAI_API_KEY',
BACKEND: 'https://el-yoh5.onrender.com',
  1. un the development server:
npm i
npm run dev-https

Open https://localhost:3000 with your browser to see the result.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.