A minimal food discussion board application, the reddit for food. Includes visualizations of user stats, discussion feeds, posts, subfooddits along with voting and commenting features.
I love discovering and trying varieties of food [except shrimp 😅] I use reddit a lot but never wondered how it was built, to solve my curiosity I decided to build a minimal and simple duiscussion board application, hence the birth of Fooddit.
P.S.- I had a great learning curve working on this project.
-
Install ng
-
Intstall angular cli :
$ npm install -g @angular/cli
-
Import the angular code
-
Angular (Front-end) 1.1. To Build :
$ ng build
1.2. To Run :
$ ng serve
1.3. Production build :
$ ng build --prod
-
Spring MVC (Back-end)
2.1. Make sure MySQL is running(refer resources for tutorial).2.2. Import springmvc into your IDE of choice and install required dependencies using Maven, then run the application. 2.2.1. if you don't have maven installed, install maven
Note: Angular will be running on: localhost4200; Springmvc will be running on: localhost8080. (unless if the port is manually configured or if something is already in use of that ports).
- Angular Tutorial - A quick tutorial on angular that you can follow along with.
- Angular Docs - A great guide during developing phase.
- Spring Data - A good guide during development.
- Spring Boot - Great reference.
- Spring Security - A good point to get started.
- Spring-MySQL - Nice tutorial for setting up mysql with spring.