This is a basic messaging platform using Rust Axum.
- Have windows installed, if not modify the npm run script.
- Have Rust and cargo installed. (no clue what version)
- For Local
- Node.js (version doesn't matter, it's so you can use npm)
- MongoDB (7.X.X)
- For Docker
- Docker (API v1.45)
Add a .env file in project root.
#key for encoding jwt/acces tokens
ACCES_TOKEN_KEY=secret_pepper# 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