Awesome Open Source
Awesome Open Source

Spring Boot, MongoDB, Angular Restful API Tutorial

Build a Fully-Fledged Todo App with Spring Boot & MongoDB in the Backend and Angular in the frontend.

Requirements

  1. Java - 1.8.x

  2. Maven - 3.x.x

  3. MongoDB - 3.x.x

Steps to Setup

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

Learn more

You can find the tutorial for this application on my blog -

https://www.callicoder.com/spring-boot-mongodb-angular-js-rest-api-tutorial/


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Typescript (262,152
Mongodb (14,594
Angular (12,806
Spring Boot (12,411
Rest Api (8,318
Tutorial (7,226
Frontend (6,799
Spring (5,021
Backend (3,456
Angular4 (1,430
Angular5 (780
Related Projects