Note: This is the adapted version of callicoder/spring-boot-mongodb-angular-todo-app which replaces MongoDB in the backend with eXist. For more information please visit the posts Building a Simple eXist Repository on Top of Spring Data and Spring Framework meets eXist-db.
Build a Fully-Fledged Todo App with Spring Boot & eXist in the Backend and Angular in the frontend.
-
Java - 1.8.x
-
Maven - 3.x.x
-
eXist - 4.3.x
1. Clone the application
git clone https://github.com/datenkollektiv/spring-boot-exist-angular-todo-app.git
2. Build and run the backend app using maven wrapper
cd spring-boot-backend
mvnw package
java -jar target/todoapp-1.0.0.jar
Alternatively, you can run the app without packaging it using -
mvnw spring-boot:run
The backend server will start at http://localhost:8080.
3. Run the frontend app using npm
cd angular-frontend
npm install
npm start
Frontend server will run on http://localhost:4200
You can find the original tutorial for this application on the blog -
https://www.callicoder.com/spring-boot-mongodb-angular-js-rest-api-tutorial/