This repository contains the code for both the login server and the service server.
The login server is a Nest.js application that provides authentication functionality to the service server.
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
The service server is a Golang application that provides various services such as maps and chat functionality.
This guide will walk you through the process of setting up a GoLang server in GoLand.
Before you begin, you will need to have GoLand-EAP installed on your machine.
- Open GoLand and go to Settings > Go > GOPATH.
- Under Project GOPATH, set the
src
directory of your project as a project source directory by clicking the+
button and selecting the directory. - Check the box next to Use GOPATH that's defined in system environment.
- Check the box next to Index entire GOPATH.
- Open GoLand and go to Settings > Go > Go Modules.
- Check the box next to Enable Go modules integration.
- Open the Edit Configurations dialog.
- Add a Go Build file.
- Select "Package" for the kind option.
- Enter "github.com/snowflake-server/main" in the Package path field.
- Check the "Run after build" option.
- Specify the "snowflake-server" directory as the working directory.
- Specify "snowflake-server" as the module.
Congratulations! You have successfully configured GoLand for GoLang server development.