ajbertolotti / darkchess

Chess with fog of war

Home Page:https://playdarkchess.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Darkchess

Chess with Fog of War.

img

Building

Terminal one

make

Terminal two

make ui

Deploy

Check out the appspec and buildspec files. I use AWS CodePipeline. Once it's setup, you just:

git push codecommit master

Tech Stack

UI

  • React/Typescript on the front, built using npx create-react-app.
  • react-router-v4, standard bootstrap
  • uses create-react-app build scripts for minimized deploy bundles

Java backend

  • maven for dep management and building
  • rest api using jersey
  • tests in junit
  • morhpia for mongo stuff
  • mongodb atlas <3 for datastore
  • logging logback/slf4j

aws deploy

  • maven shade plugin to build fat jar
  • aws codecommit to start ci/cd
  • aws codebuild to create artifacts -> s3
  • aws codedeploy /w codedeploy agent on ec2 for deploys, see ./scripts for agent scripts
  • ALB for routing traffic to ec2, using ACM for certificate and route53 for dns record

config

  • aws cloudlog agent for dumping logs to aws cloudwatch
  • init.d/ service script with nohup

About

Chess with fog of war

https://playdarkchess.com


Languages

Language:Java 63.4%Language:TypeScript 29.4%Language:HTML 3.2%Language:JavaScript 1.5%Language:Shell 1.3%Language:CSS 1.0%Language:Makefile 0.2%