sveltekit-chat-app Svelte Themes

Sveltekit Chat App

Chat with TypeScript, Node.js and SvelteKit

is a simple chat that was built with entire javascript technologies, for the frontend, backend and database.

Enviroment Variables

Client

  • PORT, the http client port, default is 3000.
  • PUBLIC_DIR, the http server port.

    Server

  • PORT, the http server port, default is 4200.
  • MONGO_URI, the MongoDB database uri.
  • SECRET, secret express-session key.
  • ORIGIN, the http client port.

Installations

git clone https://github.com/santiagocuebas/sveltekit-chat-app
cd sveltekit-chat-app
cd backend
pnpm install
npm start
cd frontend
pnpm install
npm start

Tools

  • Node.js
  • Express
  • Socket.io
  • MongoDB

Top categories

Loading Svelte Themes