Coder Social home page Coder Social logo

contact-list's Introduction

Assignment

Create a contact list app. Users should be able to create, edit, update, and destroy contacts.

Via API AND UI, you should be able to:

  • CRUD contacts
  • Request contacts with sorts:
    • in alphabetical order
    • in reverse alphabetical order
    • by creation date
    • by creation date in reverse order

UI should offer an index page, a show page, and forms to edit a Contact. There should also be a delete button.

A Contact is:

  • First name, required
  • Last name, optional
  • Phone Number, required

Validations

  • A name can contain letters or a dash or a space
  • Must be a phone number with optional country code
  • Phone number cannot contain spaces, dashes, or parens
  • No uniqueness validation for phone number or name

Bonus

  • User can input phone number with parens, spaces, dash but it is stored as a flat number string with country code.
  • If you try to enter two users with the same phone number, show a warning message.

contact-list's People

Contributors

jzornow avatar mfbalder avatar

Watchers

 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.