Skip to content

NorthskySocial/invite-code-client

Repository files navigation

Invite Code Client

Frontend UI Client to interact with the Invite Code Manager. Built with React and TypeScript.

Getting Started

Prerequisites

  • Node.js (v18 or later recommended)
  • npm

Installation

npm install

Development

npm run dev

Production Build (Web)

npm run build

Desktop Executable

To generate a local executable for your current platform:

npm run electron:build

The executable will be located in the release directory.

To run the application in desktop mode for development:

npm run electron:dev

Local HTTPS Development

This project supports local HTTPS development using Caddy.

  1. Install Caddy: Ensure you have Caddy installed on your system.
  2. Update Hosts File: Add the following line to your /etc/hosts (or C:\Windows\System32\drivers\etc\hosts on Windows):
    127.0.0.1 frontend.myapp.local
    
  3. Run Development Server:
    npm run dev
  4. Run Caddy: In a new terminal window, run:
    caddy run
  5. Access the site: Open https://frontend.myapp.local in your browser. Caddy will automatically generate and trust a local certificate (you may be prompted for your password).

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •