A fun alternative to competitive programming. Better docs coming soon.
The project uses Golang as the backend language and React in the frontend.
- Install Golang +1.10.x (assuming
gitis already installed). - Make a default repository for cloning the project. This should be strictly inside the
GOPATH. Paste this instruction in your terminal to get started.mkdir -p $GOPATH/src/github/ankitjena/. - Navigate to the directory via
cd $GOPATH/src/github/ankitjena/. - Clone the repository via
git clone. - Navigate into cloned repo
cd game-your-skills - Install the server dependencies via
go get -v -u ./... - Navigate inside the client
cd client - Install the dependencies using
yarn - Build the client using
yarn build - Start the client using
yarn start. This will run the client in port3000 - Run the application from the root of the project using
go run main.go. The server runs on port5000
Note: The application is setup to run the built react files. This will also serve the client in port
5000. But changes will not be visible since its a production build. In development you have to run both the servers separately.