Build a Todo App with Spring Boot & MongoDB in the Backend and Angular 4 in the frontend.
-
Java - 1.8.x
-
Maven - 3.x.x
-
MongoDB - 3.x.x
1. Clone the application
git clone https://github.com/srvinoth/spring-boot-mongodb-angular4-todo-app-master.git2. Build and run the backend app using maven
cd spring-boot-mongodb-backend
mvn package
java -jar target/todoapp-1.0.0.jarAlternatively, you can run the app without packaging it using -
mvn spring-boot:runThe backend server will start at http://localhost:8080.
3. Run the frontend app using npm
cd angular4-frontend
npm installnpm startFrontend server will run on http://localhost:4200