From e4bacf87453ef1c89042e99d77d0a2ed232c7888 Mon Sep 17 00:00:00 2001 From: yubintw Date: Thu, 27 Feb 2025 00:01:21 +0800 Subject: [PATCH] docs: update README.md to format code blocks and improve clarity --- README.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f649ba1..f8811cc 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Fastify Server ### Set your environment variable -``` +```bash cd backend cp .env.sample .env ``` @@ -14,23 +14,26 @@ cp .env.sample .env ### Development Run a mongo container -``` + +```bash docker run -d -p 27017:27017 mongo ``` Install dependencies -``` + +```bash npm install ``` Start development mode -``` + +```bash npm run dev ``` ### Run the test -``` +```bash npm run test ``` @@ -41,21 +44,23 @@ React (by vite) ### Development Install dependencies -``` + +```bash npm install ``` Start development mode -``` + +```bash cd frontend npm run dev ``` Visit -http://localhost:5173 + ### Run cypress test -``` +```bash npm run cy:test -``` \ No newline at end of file +```