Example BackEnd project for Play Framework that uses Silhouette for authentication and authorization, exposed REST API for sign-up, sign-in + example FrontEnd project for ReactJS+ Typescript used for handling view layer. FrontEnd application implements authentication and accessing secured backend actions.
BackEnd application uses Play, Silhouette, Slick and H2 for storage.
FrontEnd application uses Node.js, React, Typescript, Material-UI. Project generated based on create-react-app-typescript.
- node.js (recommended version 8.x)
- H2 (database)
- Before you run you have to build FrontEnd project. To do it run command in PROJECT_ROOT/app/frontend directory of project:
npm i
- To run BackEnd + FrontEnd together you need to run command from project root directory:
sbt run
username | password |
---|---|
test1 | test1Password |
test2 | test2Password |
Slick evolutions are responsible for data reloading.
Documentation is available under address: REST API
The code is licensed under Apache License v2.0.