Skip to content

MogInc/Mogcord

Repository files navigation

Rust Htmx AlpineJs TailwindCSS MongoDB Docker

Help Wanted Good First Issue Build Clippy Fmt

Mogcord

This is a basic messaging platform using Rust Axum.

Prerequisites

  • Have windows installed, if not modify the npm run script.
  • Have Rust and cargo installed. (no clue what version)
  1. For Local
    • Node.js (version doesn't matter, it's so you can use npm)
    • MongoDB (7.X.X)
  2. For Docker
    • Docker (API v1.45)

Getting Started

Add a .env file in project root.

#key for encoding jwt/acces tokens
ACCES_TOKEN_KEY=secret_pepper

How to run the server

# 1a: run on local machine (need to have prerequisites installed)
npm run dev

# 1b: build and execute the binary
npm run debug
npm run release

# 1c: running on docker (need to have Docker installed)
docker compose up

Me

About

Basic chatting app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published