Skip to content

creperozelot/wahlomat-clone

Repository files navigation

FlamesOMat

Build and Push Docker Image

FlamesOMat is a custom Wahl-O-Mat-style application built with Next.js, React, TypeScript, and MUI. The application allows users to compare their opinions with different parties based on a customizable question and party system.

Features

  • 🔥 Custom Questions & Parties: Easily modify questions.json and party.json to tailor the questionnaire.
  • Next.js & React: Optimized performance with server-side rendering and static generation.
  • 🎨 MUI Integration: Sleek and modern UI components.
  • 📦 Docker Support: Easily deploy using the provided Docker image.

Installation & Development

Prerequisites

Ensure you have the following installed:

  • Node.js (LTS version recommended)
  • Docker (if using containerized deployment)

Clone the Repository

git clone https://github.com/creperozelot/wahlomat-clone.git
cd FlamesOMat

Install Dependencies

npm install

Copy .env.example to .env and Modify

cp .env.example .env

Run in Development Mode

npm run dev

The app will be available at http://localhost:3000

Customization

Modify Questions & Parties

The questions and parties are stored in JSON files for easy modification.

  • questions.json – Defines the questionnaire.
  • party.json – Stores party information and their stance on issues.

To update them, edit the respective JSON files in the data/ directory.

Docker Deployment

Build the Docker Image

docker build -t flamesomat .

Run the Container

docker run -p 3000:3000 flamesomat

Access the application at http://localhost:3000

Using Docker Compose

Alternatively, you can use Docker Compose:

docker-compose up --build

Deployment

You can deploy FlamesOMat on Vercel, DigitalOcean, AWS, or any platform that supports Node.js and Docker.

Deploy to Vercel

If deploying to Vercel, run:

npm install -g vercel
vercel

Follow the CLI instructions to deploy.

License

MIT License - Feel free to modify and use the project!


🔥 Developed with passion by creperozelot

About

Basic Clone of the WahlOMat from germany.

Topics

Resources

Stars

Watchers

Forks

Packages