A starter kit todo app REST API using SpringBoot integrated with Surreal DB.
- Java 21 and Maven >= 3.8.8
- Docker & Docker compose to start surrealDB if not installed locally.
- Clone the Repository:
git clone https://github.com/PDROJACK/surrealdb-springboot-starter.git
-
cd to the backend directory
surrealdb-springboot-starter
. -
Inside the root of repository directory. Run below command to start SurrealDB:
docker compose up
-
Inside the root of repository directory. Run below command to start SurrealDB:
mvn spring-boot:run
-
Postman Collection for the API is present in
docs/SurrealDB.spring.postman.json
-
OpenAPI definition can be accessed at this url after starting the app: http://localhost:8080/swagger-ui/index.html#/
This starter kit is done as part of Hacketoberfest 2023 project.If you find any issues or have suggestions for improvements, please feel free to open an issue or create a pull request.
Happy coding!