Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.83 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.83 KB

pan-shoot

パンを撃ち、敵を討つゲームです

Summary

  • 本職でいつも仲良くお世話になっているPdMの方を主人公としたシューティング・アクションゲームです(本人承諾済)
  • PCでのみ動作します(スペースキーでパンを撃つ、カーソルキーで移動)

Tech Stack

Local development

Prerequisites

Setup local database

docker compose -d up

If you need DB auto migration, please run the following: (ref: golang-migrate)

migrate -database "postgresql://root:password@localhost:15432/devdb?sslmode=disable" -path db/migrations up

Building Frontend

cd frontend/
yarn build

After build, an application bundle is produced under /frontend/dist/ directory.

Starting Server

go run cmd/main.go

Golang server serve with /static/ of routes as static files server.

After initialized, you can access the server at http://localhost:8080/static/ .