Skip to content

A golang wordle clone with an embedded cli quick game, a websocket server and rest server

Notifications You must be signed in to change notification settings

lordvidex/wordle-server

Repository files navigation

Client

This part contains a cli command tool to test out some of the functionality of the game. It was quickly built to provide a simple interface to test out some of the game functionalities.

Run

  • go run ./cmd/client/main.go

Example

CLI Sample

Server

Run

  • load .env file in the root directory of the project. An example is provided at .env.example
  • run docker-compose up -d
  • open http://localhost:8080

Migrations

EXPORT DATABASE_URL=postgres://user:pass@host:port/db?sslmode=false # your database url
make migrateup      # to migrate up
make migratedown    # to migrate down

Notes

  • When connecting using docker, the POSTGRES_HOST is set to pg-dev

About

A golang wordle clone with an embedded cli quick game, a websocket server and rest server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages