Installation from source

  1. Install the latest stable version of GoLang and NodeJS
  2. Download the source code:
    git clone https://github.com/NightMan-1/QVNote
  3. Go to the source folder and install the dependencies:
npm install
  1. Build the frontend (the result is placed in the public/ folder):
npm run build
  1. Build the QVNote binary:
go build
  1. Run the program and open http://localhost:8000 in your browser

Development

For development, run the backend and the frontend separately. Start the backend:

./qvnote

It listens on port 8000. In another terminal, start the frontend dev server:

npm run serve

It runs on port 8080 and proxies /api requests to port 8000. Open http://localhost:8080 in your browser.