A RESTful API for managing personal notes built with Spring Boot and PostgreSQL.
- Java 21 or higher
- PostgreSQL 15 or higher
- Maven 3.x
- Clone the repository
- Configure PostgreSQL
- Create a database
- Update
src/main/resources/application.yml
with your database credentials
- Build and run the application
./mvnw spring-boot:run
The API will be available at http://localhost:8080
- Build Image
./mvnw spring-boot:build-image -Dspring-boot.build-image.imagePlatform=linux/amd64 -Dspring-boot.build-image.imageName=notesapi:latest
docker tag notesapi:latest ghcr.io/kirilkv/notesapi:0.0.1-snapshot
docker push ghcr.io/kirilkv/notesapi:0.0.1-snapshot
fly deploy