Giter Club home page Giter Club logo

address_book_lab's Introduction

#Address book

Create a new app using Sails, Angular, and MongoDB to store addresses.

This should be a "single page app" created using a combination of ngRoute and modals.

##Backend

The backend of this app will be created using sails.js and should only require 1 model called contact and 1 view.

##Contact model

Each contact should have the following data:

  • First Name
  • Last Name
  • E-mail
  • Street Address
  • City
  • State
  • Zip
  • Phone
  • Notes

All create/update forms should have fields for all of these attributes and have some sort of validations on the server (model) and frontend (angular).

##Home page

Route: /

Displays a list of all of the people in your address book. Should just be a list of peoples basic details (First Name, Last Name, and Company).

The list will also have a view, edit, and delete button.

Delete should be done via AJAX and the list should update without a page refresh

Edit should be done with a form in a modal and the list should update when they save the item. The modal should have Save and Cancel.

View view should link to a new URL (View Contact Page) so you can link directly to people's entry in the address book by id.

##View page

Route: /contact/:id

Should display the full details of the entry in the address book. Should have a back button (returns to home page) and an edit button (edits the current item with the same modal used on the home page).

address_book_lab's People

Contributors

itslenny 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.