Skip to content

An Angular App to solve your craving with an option of NodeJS or Java Spring Boot backend server. For whatever you're craving for, just use this app to help you map out all the restaurants you're craving.

Notifications You must be signed in to change notification settings

paullam328/food-search-app

Repository files navigation

FoodSearchApp

This project was generated with Angular CLI version 8.0.3.

This Angular project contains two components - search and map. Search component subscribes to the REST API service that fetches data from the SQL database, while map components generate the Google Map as a variable.

Node.js server for MySQL connection (For REST API)

Run npm start on the server\app.js. The server will be set in http://localhost:3000/.

Java Spring Boot server for MySQL connection (For REST API)

Run 'food-search-app/food-search-spring-server/src/main/java/com/example/foodsearchspringserver/FoodSearchSpringServerApplication.java'. The server will be set in http://localhost:3000/.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

An Angular App to solve your craving with an option of NodeJS or Java Spring Boot backend server. For whatever you're craving for, just use this app to help you map out all the restaurants you're craving.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published