Converting server to dotnet
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user