Giter Site home page Giter Site logo

angularjs-hotel-collection-preview's Introduction

About

Preview application for serving hotel collection to client from mock.

Preview demo of development version is accessible on: http://hotel-collection-preview.herokuapp.com

Architecture

Application is not optimize for distribution run! It's just development preview of my personal approach.

Application is presenting not only presentation of data but as well framework agnostic modular architecture.

There is only one rest service. That simply serving all data at once. This consume a lot of time for the first load.

This is not optimum! We should have usually application that serving data in bundles on more than one request that's what makes RESTfull services strong. This is just simply serving one big bundle without pager for preview purpose.

Used technologies

  • typescript
  • requirejs (amd modularisation)
  • angularjs
  • nodejs with gulp as development platform

This architecture is able to be loosely coupled as much as it is possible. That what is basicaly visible in ./src where main.ts file is present. This file is bootstrapping whole applicaiton. It's loading main module as first and than according to packages section inside each modules main.ts file.

Angular JS is part of each module and each module has it's own dependencies. In short time of customization angularjs application can be lazy loaded using specific approach which is not part of development preview.

How to run application

You have to have properly installed nodejs environment and than just run these two commands.

  1. $ npm install
  2. $ npm start

Second command start application on http://localhost:3000

angularjs-hotel-collection-preview's People

Watchers

James Cloos avatar Petr Juna 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.