Skip to content

Getting Started

Sulabh Mehta (Dominik) edited this page Nov 8, 2023 · 6 revisions

Requirements

  • node.js (> 18.17.0)
  • golang (created with v1.21)
  • mongodb

Back-end

Development

  • Insert your .env file in / having MONGODB_URI
  • Run the server instance for development:
go mod tidy
go run main.go

Build

To build go app, run

go build -o quizbe.pkg

To run the built go app, run

./quizbe.pkg

Front-end

Development

  • Insert your .env.local file in web/ directory
  • Install the dependencies:
cd web
npm install
  • Run the development server:
npm run dev

Build

To build the next app, run

npm run build

To start the built app, run

npm start

Clone this wiki locally