From the course Rock the JVM course ZIO Rite of Passage
This project demonstrates a full-stack Scala application using ZIO, Laminar, and Scala.js, focused on building a production-ready system with features like authentication, REST APIs, and real-time updates. The website serves as a platform for reviewing companies, showcasing skills in functional programming and real-world application development.
sbt: ~fastOptJS
npm run start
docker exec -it zio-rite-of-passage-db-1 psql -U docker
\c reviewboard
\d invitessbt: ~compile
sbt: ~Test / compilehttp post localhost:8080/users email='[email protected]' password='test'http post localhost:8080/users/login email='[email protected]' password='test'http post localhost:8080/companies name='Company' url='company.com' country='USA' location='City' industry='Tech' tags:='["IT"]' 'Authorization: Bearer <token>'http post localhost:8080/companies/search countries:='["Nepal"]' locations:='[]' industries:='[]' tags:='[]'stripe listen --forward-to http://localhost:8080/invite/webhook
<key>stagingBuild / Docker / publishLocal docker save -o server.tar rockthejvm-reviewboard-staging:1.0.1 scp server.tar [email protected]:/staging docker load -i server.tar

