apt-get install golang
cd backend && go get .
apt-get install nodejs npm
cd frontend && npm install
- The latex engine assumes
xelatex
binary is available in your$PATH
- A mongo server is running on port 27017
cd backend && go run main.go
You may also want to open the swagger page for ease of navigating APIs, just paste swagger.yaml into Swagger Editor
For development, you can simply do npm run start
. To build to serve from Go, use npm run build
These are practices followed currently:
- Add new handlers in
main.go
and create separate files within the packagemain
.
- Add dom container in index.html
- Add component in main.js
- Use
"/c/Program Files/MongoDB/Server/5.0/bin/mongod.exe" --dbpath ~/Documents/MongoData
to start local mongo - Use
go build main.go && ./main.exe