Akka Http Server Scala Tutorial - Build a Webservice

preview_player
Показать описание
A quick walkthrough/crash course to an akka http server based webservice.

(00:00) - Intro and Project Setup
(01:15) - Hello World
(02:50) - JSON Marshalling
(04:42) - CRUD Routes
(05:45) - Cross Origin Resource Sharing (CORS)
(07:06) - The End
Рекомендации по теме
Комментарии
Автор

Thank you so much for this video! I'm doing my first steps in Scala but only you could provide info so clear!

maratfaizer
Автор

Thank you very much sir! I used your video for my very own API and for now it just seems like magic that it works.

Here were some of my problems and how I fixed it for any newbies like me looking for help.
-The dependencies did not load on IntelliJ. Fix: make sure to click on the correct button ;) (some blue arrows forming a circle)
-How to run sbt run in IntelliJ? Fix: Run 'run' on the sbt shell on the bottom bar.
-Errors about some datatypes or wrong outputs. Fix: Scala seems to be finicky with indentations here. Make sure the routes look the same as in the video.
-Also check for spelling. I had troubles with lower and uppercase words in ' spray.json.RootJsonFormat[User]', for example.
-Delete method shows the Get method output.
Fix: I have no clue but at least you are not alone on this one. I think it is because I use postman to try it out.
But you can always make a new route just for deletion I guess... :/

hope I could help !

oliverkalemba
Автор

Very good video. Thanks!
We need more video! =)

mardaunt
Автор

Would love more videos about akka http. Thank you.

freddynator
Автор

That is a pity that the JS page is not included in the repository, I don't know JS so it would be useful.

no_more_free_nicks
Автор

I tried adding the spark library to create a DataFrame table.
I added in dependencies:
"org.apache.spark" % "spark-core" % "3.1.1"
But it is not working.
And I tried adding:
"org.apache.spark" % "spark-core_2.13" % "3.1.1"
it also not working =(
Can you tell me how to create a DataFrame table in addition to your example?
I think I'm missing a little detail.

mardaunt