Skip to content

Webapp for 'Infrastructure as Code ... Vegan-style' demo

Notifications You must be signed in to change notification settings

panz3r/opentofu-demo-webapp

Repository files navigation

Infrastructure as Code ... Vegan-style - DEMO - Webapp

This repository contains the Webapp source code of the Demo project for "Infrastructure as Code ... Vegan-style" presentation

Details

This project is built using the following technologies:

  1. Frontend:

    • HTML, CSS, and JavaScript for the user interface
    • Tailwind CSS for styling and responsive design
    • Vite as the build tool and development server
  2. Backend:

  3. Security:

  4. Development Tools:

This stack allows for a serverless, edge-computing approach, leveraging Cloudflare's infrastructure for high performance and scalability.

Getting Started

  • Pull remote project configuration from Cloudflare

    pnpx wrangler pages download config <PROJECT_NAME>
  • Create votes table in remote database

    pnpx wrangler d1 execute DB --remote --file=database/01_add_table_votes.sql

Local Development

  • Install dependencies

    pnpm install
  • Build frontend UI

    pnpm build
  • Create votes table in local database

    pnpx wrangler d1 execute DB --local --file=database/01_add_table_votes.sql
  • Start local development server

    pnpx wrangler pages dev

About

Webapp for 'Infrastructure as Code ... Vegan-style' demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published