https://github.com/copperlight/scala-servlets
https://github.com/copperlight/scala-servlets
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/copperlight/scala-servlets
- Owner: copperlight
- Created: 2019-07-03T22:51:09.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2022-04-04T02:28:18.000Z (about 4 years ago)
- Last Synced: 2025-03-11T12:14:23.474Z (over 1 year ago)
- Language: Scala
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
Small project for REST APIs in Scala with Servlets.
Inspired by:
## Development
Install `java` locally, using [SdkMan]:
```bash
sdk install java 11.0.3-zulu
```
Install `sbt` locally, using [SdkMan]:
```bash
sdk install sbt 1.2.8
```
Run the service, optionally specifying the port to listen on:
```bash
sbt "run 7102"
```
IntelliJ Configuration:
* Run > Edit Configurations
* Add > sbt Task
* Task Configuration
* **Name:** `run`
* **Tasks:** `"run 7102"`
* **Uncheck:** Use sbt shell
[SdkMan]: https://sdkman.io/install