Build a Fully-Fledged Todo App with Spring Boot & MongoDB in the Backend and Angular in the frontend.
-
Java - 1.8.x
-
Maven - 3.x.x
-
MongoDB - 3.x.x
1. Clone the application
git clone https://github.com/callicoder/spring-boot-mongodb-angular-todo-app.git
2. Build and run the backend app using maven
cd spring-boot-backend
mvn package
java -jar target/todoapp-1.0.0.jar
Alternatively, you can run the app without packaging it using -
mvn 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 tutorial for this application on my blog -
https://www.callicoder.com/spring-boot-mongodb-angular-js-rest-api-tutorial/