Home

Awesome

Tanka Chat App built with Tanka GraphQL library

Simple chat application with channels and messages.

Use s queries, mutations and subscriptions. Subscriptions use graphql-ws -protocol.

Running the app

App is built with Asp.NET Core backend and Preact frontend. Backend acts as both API and host for the frontend.

Prerequisites

Running the app

dotnet build -c Release
dotnet run -c Release --launch-profile ChatProduction --project .\src\Chat.Api\

This will build the backend and frontend and run the app in "Production" -environment.

Development

Editor

You can develop the app in two ways:

Running Vite manually is faster, but you need to remember to start it before running the app. Letting Visual Studio start Vite automatically is slower as Vite is started and stopped when you launch the app.