This repository contains the frontend client for the chat functionality in Muimi-Chat.
Everything you need to build a Svelte project, powered by create-svelte
.
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npm create svelte@latest
# create a new project in my-app
npm create svelte@latest my-app
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
.github/workflows - Contains GitHub Actions workflows for CI/CD.
deploy-vm.yml
: GitHub Actions workflow for deploying to VM.
.vscode - Configuration files for VS Code workspace settings.
settings.json
: Visual Studio Code settings configuration.
src - Source code for the application.
lib - Contains utility libraries and modules.
- components - Reusable UI components.
- cookies - Modules for handling cookies.
- services - Modules for interacting with backend services.
- store - State management store modules.
routes - Application routing components and pages.
- authenticate - Authentication page and related components.
- change-email - Page for changing user email.
- chat - Chat page and related components.
- confirm-password-reset - Page for confirming password reset.
- disable-totp - Page for disabling TOTP (Two-Factor Authentication).
- login - User login page.
- newtoken - Page for generating new tokens.
- register - User registration page.
- reset-password - Page for resetting user password.
- settings - User settings page.
static - Static files such as images and fonts.
- fonts - Font files used in the application.
tests - Test files and test utilities.
- test.js - Main test script file.