Skip to content

TheDIM47/HelloSlick3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slick 3, Scala 2.13, Play 2.8 Sample

API: Single endpoint accepting GET, PUT, POST, DELETE.

GET /api/names - return all "id"-"name" pairs from table ENTITY

PUT /api/names/:id/:name - update Entity with "id" to specified "name" - return number of updates

POST /api/names/:name - insert new Entity with "name" - return new ID

DELETE /api/names/:id - delete Entity with "id"

Tested with Scala 2.13.4

About

Play 2.8, Slick 3, Scala 2.13 Sample

Resources

Stars

Watchers

Forks

Languages