Install PostgreSQL
Create a database named nepalius (configurable in application.conf)
Start up sbt:
./sbtOnce sbt has loaded, you can start up the application
> ~backend/reStart
This uses revolver which automatically rebuilds the application when you make code changes.
Run Dev Server
cd frontend
npm install
npm run devCompile the frontend ScalaJS to JavaScript
./sbtOnce sbt has loaded
> ~frontend/fastLinkJS
- Scala 3 for backend
- TypeScript for frontend
- ZIO as an Effect system
- ZIO-HTTP to write HTTP endpoints
- ZIO-Quill for compile-time SQL query generation
- Flyway for database migration
- PostgreSQL as database
- ScalaJS for frontend
- Laminar for reactive frontend
- NextJS as frontend framework
- React for building user interfaces
- MUI for UI components