TicTacToe backend is built with Ktor framework and deployed on the Heroku.
Currently this API is deployed on https://tic-tac-toe-vaibhav.herokuapp.com
. You can try it 😃.
- Easy structure
- Online Game mode using WebSockets
- Automatic and easy deployment to Heroku
You will require latest stable version of JetBrains IntelliJ Idea to build and run the server application.
- Import this project in IntelliJ Idea
- Build the project.
- Set environment variables for the
:application:run
configuration as following
PORT=8080
POST https://tic-tac-toe-vaibhav.herokuapp.com/v1/room/create
Content-Type: application/json
{
"roomName": "ROOM_1"
}
GET https://tic-tac-toe-vaibhav.herokuapp.com/v1/room/join
Content-Type: application/json
GET https://tic-tac-toe-vaibhav.herokuapp.com/v1/room/search
Content-Type: application/json