- Creation of a hotel booking application using angularjs,nodejs and mongodb.
- Creating of a hotel booking application using angularjs,nodejs and mongodb.Angular HTTP client module is used to fetch data from the Nodejs server.The HttpClient in @angular/common/http offers a simplified client HTTP API for Angular applications that rests on the XMLHttpRequest interface exposed by browsers. Additional benefits of HttpClient include testability features, typed request and response objects, request and response interception, Observable apis, and streamlined error handling.Angular component and data binding features are used.Data-binding can be either one-way or two-way. Angular provides various types of data binding -
String Interpolation Property Binding Event Binding Two-way binding
- Visual Studio code and a web browser which supports ES6.
STEPS :
1.Open a git bash shell
2.Execute a command "https://github.com/khvr/Travcomp/"
3.Open files with visual studio code in a new workspace
4.Open a new teminal by right clicking on project folder
5.Execute a command "npm install -g @angular/cli"
6.Execute a command "npm install --save @angular/material @angular/cdk"
7.Execute a command "npm install --save hammerjs"
8.Execute a command "npm install --save@angular/flex-layout"
9.Execute a command "nodemon" for running the email backend
10.Execute a command "npm start " for running the authentication and application server.
11.Execute a command "ng serve -o" to launch the code editor
12.Components and services are created and HTTP client module is used to fetch data from the Nodejs server
13.Right click on index.html and click on revel in explore
14.Double click and execute index.html
15.Enjoy the buid of the hotel booking Application