Giter Club home page Giter Club logo

restaurant-website's Introduction

Introduction

This is a Restaurant Website with frontend made using Angularjs & with backend made using Nodejs

Web tools

  1. Bower : Package Manager for the Web
  2. Grunt & Gulp : Task Automation
  3. Yo : Web App scaffolding
  4. Yeoman : Workflow designed around using Yo, Bower and Gulp

Js Frameworks :

  1. Single page application
  2. Model – view- controller Task runners:
  3. Minification : Removing unnecessary characters to reduce size
  4. Concatenation : Removing unnecessary characters to reduce size
  5. Js Hint : Checks for syntax errors for potential error.
  6. Uglification : Minification + Mangling (reduce local variables to single letters)
  7. Rechecking for errors
  8. Images: Optimization of images to reduce size
  9. Watch : To keep a watch on all the above if a change happens we don’t have to manually do it again.
  10. Server &/ Livereload : Serves up the compiled code (Live Reload).Automatically reload anytime when anything changes.
  11. Building site for deployment.

Dependency Injection :

Software Design pattern that implements inversion of control for resolving dependencies.

  1. Dependency : Object that can be used(a service). 2. Injection : Passing of a dependency to a dependent object so that it can use it. Client doesn’t need to build an object.
  2. Creating Angular templates
  3. SPA(Single paged applications) : (i) No need to reload the entire page. (ii) Most resources are retrieved with a single page load. (iii) Redraw parts og the page when needed without requiring a full round trip.
  4. Data binding : one way & two way
  5. MVC/MVVM/MVW framework support
  6. Views ->Tempaltes + controller + Model
  7. Location & Routing

Server :

(i) Serves up data using REST Api. (ii) Supplies the static HTML pages , Angular templates & resources. Rendering of view is completely based on client side (i) Templating & Routing(How we move from one template to another)

 Deep Linking : Hyperlink that specifies a link to a searchable or indexed piece of web content. Ex: http://www. confusion.food/index.html#/menu/0

Note:Any change following the hash in the url doesn’t lead to page reload . If anything to the right of the hash changes, browser doesn’t cause any page reload.(SPAs property).

Location Service:

  1. Exposes the current URL in the browser address bar.

  2. Synchronises the URL with the browser when the user:

(i) Changes the address bar. (ii)Clicks on the back/Forward buttons (iii)Clicks on a link

  1. Allows you to manipulate the hash portion of a URL.

=> Routing : Mapping the path portion of a URL to a handler for that particular route using ngRoute module. Ex: https://www.confusion.food/index.html#/menu/0 (link wil not work)

=> Networking: Json-server => Promise function: When we initiate asynchronous operation, promise comes back & tells what happened.

=> RESTful API => Unit Testing: Karma & Jasmine => End 2 End Testing: Protractor

Screenshots:

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

Screenshot 5

Screenshot 6

Screenshot 7

Screenshot 8

Screenshot 9

Screenshot 10

Screenshot 11

restaurant-website's People

Contributors

ishank62 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.