Skip to content
/ rps-ts Public

a simple typescript backend setup demonstration

Notifications You must be signed in to change notification settings

Cardu/rps-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rps-ts

This is a simple demonstration of a typescript backend setup The app consist in the rps game

In order to run it, setup the database:

cd db && docker-compose up -d

Install packages: yarn

Run The Server: yarn start

Play a game with an HTTP client:

POST http://localhost:8080/play

{
"move": "Rock"
}

retrieve last game result GET http://localhost:8080/play

About

a simple typescript backend setup demonstration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published