- Install Go: https://go.dev/doc/install
Run the bellow commands in the terminal from the project directory:
cd be-graphql
go mod download
go run server.go
- When making change to the schema, run the following commands to generate new models:
go get github.com/99designs/gqlgen@v0.17.17
go run github.com/99designs/gqlgen generate
- Install npm: https://nodejs.org/en/download/
OR
Install yarn (required npm to be installed first): npm install --g yarn
- Run the bellow commands in the terminal from the project directory:
cd fe
npm i OR yarn
npm run start