Where I keep my spoons.
| .idea | ||
| .mvn/wrapper | ||
| .settings | ||
| src | ||
| .classpath | ||
| .gitattributes | ||
| .gitignore | ||
| .noai | ||
| .project | ||
| build.ts | ||
| bun-env.d.ts | ||
| bun.lock | ||
| bunfig.toml | ||
| Caddyfile | ||
| kredens.iml | ||
| LICENSE | ||
| mvnw | ||
| mvnw.cmd | ||
| package.json | ||
| pom.xml | ||
| README.md | ||
| tsconfig.json | ||
Kredens
It's where I keep my spoons.
How to run
Generate the statics:
npm build
In a file called dev.properties add the configuration for the Postgres database:
spring.datasource.url=jdbc:postgresql://localhost:5432/kredens
spring.datasource.username=kredens
spring.datasource.password=kredens
Then start the application itself:
mvn spring-boot:run -Dspring-boot.run.profiles="local,dev"
Architectural Notes
The application is an SPA with a frontend built with Bun and served by the same Spring backend that serves the API.
The backend is a Spring application, for now a bit chaotic as I still refresh my skills in there. Use of server-side rendering should be kept to basic components such as HTTP error pages.
The frontend is implemented with Hero UI, React and React Router. There is some structure, but I haven't refactored it even a bit yet.