From ab22acc4cee3df934ff5a7bed18635c916e77553 Mon Sep 17 00:00:00 2001 From: LordMathis Date: Thu, 26 Sep 2024 22:01:44 +0200 Subject: [PATCH] Add README --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fae936d..632d945 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ # NovaMD -Yet another markdown editor +Yet another markdown editor. Work in progress + + +## Running the Backend + +1. Navigate to the `backend` directory +2. Set the `FOLDER_PATH` environment variable to your desired file storage location +3. Run the server: + ``` + go run cmd/server/main.go + ``` + The server will start on port 8080 by default. + +## Running the Frontend + +1. Navigate to the `frontend` directory +2. Install dependencies: + ``` + npm install + ``` +3. Start the development server: + ``` + npm start + ``` + The frontend will be available at `http://localhost:3000`