docs: update README.md with development instructions

This commit is contained in:
yubintw
2024-03-27 00:17:52 +08:00
parent 7ba3a575b5
commit 28fcd49ae7

View File

@@ -13,12 +13,17 @@ cp .env.sample .env
### Development
run a mongo container
Run a mongo container
```
docker run -d -p 27017:27017 mongo
```
start development mode
Install dependencies
```
npm install
```
Start development mode
```
npm run dev
```
@@ -35,12 +40,20 @@ React (by vite)
### Development
start development mode
Install dependencies
```
npm install
```
Start development mode
```
cd frontend
npm run dev
```
Visit
http://localhost:5173
### Run cypress test
```