Giter Club home page Giter Club logo

challenge's Introduction

Post Interview Challenge

A small single page application built using the following technologies:

  • Node.js
  • AngularJS
  • Restangular - An alternative to using $resource
  • ng-grid - For displaying records in a lazy-loading table with sortable columns
  • MongoDB - to store the data (click link to see raw JSON output)

Note: To run this app locally perform the following steps:

  1. Clone the repo
  2. Run npm install
  3. Run http-server from the terminal and point your browser to http://127.0.0.1:8080 or whatever resulting address is for your machine

Possible Improvements:

  • Incorporate Gulp into build process to allow for things like live reloading (Browsersync), css preprocessing (Styless), minification, and linting. Currently excluded to keep the project as clean and minimal as possible.
  • Currently to edit a list item you must click on the item name. This may need to be reworked so that a user can select a single row and then click an edit button to be taken to the edit page. I wasn't sure if this requirement was arbitrary or could be changed.
  • Currently using put instead of patch to create new list items, as well as for editing existing list items. This is due to a a resulting Method PATCH is not allowed by Access-Control-Allow-Methods in preflight response error that I have yet to resolve when using patch to edit an existing entry (patch works for creating new entries).

Issues:

  • ng-grid height requires an inline style hack to get it working. Attempted to use ng-grid-flexible-height.js without success.

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.