Converting server to dotnet

This commit is contained in:
Zeeshaun
2026-05-05 16:22:37 +00:00
parent 74d2170880
commit 095eb4b50d
21 changed files with 636 additions and 296 deletions
+6 -5
View File
@@ -5,8 +5,8 @@ Self-hosted tablet-first POS for a boba shop.
## Stack
- Frontend: `React` + `Vite`
- Backend: `Express`
- Database: self-hosted `MongoDB` via `Mongoose`
- Backend: `ASP.NET Core` minimal API
- Database: self-hosted `MongoDB` via `MongoDB.Driver`
## Features
@@ -19,14 +19,14 @@ Self-hosted tablet-first POS for a boba shop.
## Project layout
- `client/`: React tablet UI
- `server/`: Express API and Mongo models
- `server/`: ASP.NET Core API and Mongo models
## Environment
Create `.env` in the repo root:
Copy `.env.example` to `.env` in the repo root:
```env
MONGODB_URI=mongodb://localhost:27017/ranaze-pos
MONGODB_URI=mongodb://127.0.0.1:27017/ranaze-pos
PORT=4000
```
@@ -34,6 +34,7 @@ PORT=4000
```bash
npm install
dotnet restore server/RanazePos.Api.csproj
```
## Run in development