Mini project web application [Java/Spring Boot | AngularJs | MongoDB] NearbyShops

preview_player
Показать описание
This video tutorial is a how to setup and run a mini project named "NearbyShops" developed on Eclipse with Java/Spring Boot, AngularJs and MongoDB. You can find it on my github repo:

I developed this web application as a solution for this web coding challenge:

The idea is to develop a Web application that allows users to see the list of nearby shops, as well as to keep track of their favorite ones.

*Features:
-As a User, I can sign up using my email & password.
-As a User, I can sign in using my email & password.
-As a User, I can display the list of shops sorted by distance.
-As a User, I can like a shop, so it can be added to my preferred shops.
-Acceptance criteria: liked shops shouldn’t be displayed on the main page.
-[Optional] As a User, I can dislike a shop, so it won’t be displayed within “Nearby Shops” list during the next 2 hours.
-[Optional] As a User, I can display the list of preferred shops.
-[Optional] As a User, I can remove a shop from my preferred shops list.

*Requirements on your machine:
-MongoDB must be installed.
-Wamp or Xampp to run localhost.
-Eclipse IDE.

*Setup the Database:
-To try this application on your localhost, you need first to install this MongoDB dump shops database that contains more than 300 shops, every shop entity contains: name, picture, city, email, location.
-On your cmd/terminal console, run "mongod" command to start mongodb server:
mongod

-Open a new cmd/terminal console and execute the command below:
mongorestore --db shops path_to_the_extracted_shops_folder

-To check if the shops database was successfully installed, execute:
mongo

*Run the application
To launch this web application, you need to:
-Import the "nearbyshops" project in Eclipse.
-Make sure localhost server is started (wamp/xamp...).
-Make sure mongodb server is started (with "mongod" command).
-Go to: localhost:8080
Рекомендации по теме