Skip to content

madrigals1/scala_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala REST API

Sample project for testing REST API using Scala

Installation

Make sure you have already set up Scala development environment

Go to the folder with project, compile and package

sbt clean compile && sbt package

Running

To run the project, simply execute

sbt run

Usage

Maze Creation

Endpoint /mazes
Method POST
Description Generates maze with width and height sizes

Send

{
    "width": 12,
    "height": 12
}

Receive (in sbt console)

███████████████████████████████████████████████████████████████████████████
███                                                                     ███
███   ███   ███   ███   ███████████████   █████████   ███   ███████████████
███   ███   ███   ███   ███         ███   ███         ███               ███
███   ███   █████████   ███   ███   ███   ███████████████████████████   ███
███   ███   ███         ███   ███   ███                           ███   ███
███   ███   ███   █████████   ███   ███████████████   █████████   ███   ███
███   ███   ███         ███   ███               ███   ███         ███   ███
███   ███████████████   ███   █████████████████████   █████████████████████
███               ███   ███                     ███                     ███
█████████████████████   █████████████████████   █████████   █████████   ███
███                     ███         ███   ███         ███   ███         ███
███   █████████   █████████   ███   ███   █████████   ███   ███████████████
███   ███   ███   ███         ███               ███   ███               ███
███   ███   ███   ███   █████████████████████   ███   █████████   ███   ███
███   ███         ███                     ███   ███               ███   ███
███   █████████████████████████████████   ███   █████████████████████   ███
███               ███                     ███                     ███   ███
███   █████████   ███████████████████████████   ███████████████   █████████
███         ███                           ███   ███         ███         ███
█████████   ███   █████████   ███████████████   ███   ███   █████████   ███
███   ███   ███         ███                     ███   ███         ███   ███
███   ███   █████████   ███████████████████████████   █████████   ███   ███
███               ███                                 ███         ███   ███
███████████████████████████████████████████████████████████████████████████

About

REST API using Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages