GithubHelp home page GithubHelp logo

addressbook's Introduction

Addressbook

This project is a RESTful implementation of an addressbook.

It supports:

* Listing all entries
* Modifying specific entries
* Deleting specific entries
* Adding an entry
* Import from CSV
* Export to CSV

Instructions to run locally

Get the source code:

  • go get github.com/JessTheBell/addressbook

Navigate to the project folder:

  • cd $GOPATH/src/github.com/JessTheBell/addressbook

Start the project:

  • go run main.go

Open localhost:8080 in the browser of your choice.

Have Fun!

There is a disabled populate() function. To start the server with some default entries, uncomment that line in main.


Problem

The following project is intended to give you an opportunity to demonstrate your understanding of web service and micro service concepts.

The requirements are laid out in a simple user story that intentionally leaves room for interpretation.

Please use your best judgment as you decide how to best fulfill the requirements outlined.

Requirements:

As a user I need an online address book exposed as a REST API.

I need the data set to include the following data fields:

First Name, Last Name, Email Address, and Phone Number

I need the api to follow standard rest semantics to support listing entries, showing a specific single entry, and adding, modifying, and deleting entries.

The code for the address book should include regular go test files that demonstrate how to exercise all operations of the service.

Finally I need the service to provide endpoints that can export and import the address book data in a CSV format.

How to turn in the project:

Please post the code to a publicly accessible github, or other CSV repository and provide a link to the completed code. If your solution includes a dependency on any external system like a database or other system, please provide instructions for configuring the external system in the readme in your repository.


addressbook's People

Contributors

jessbellon avatar

Watchers

 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.