/birds

Primary LanguageJavaScript

Birds of NY

:image

You've just started your first day at the dev agency professionalnobodies.biz

The previous developer left in a hurry to work on the Bernie Sanders campaign leaving you as the lead developer on a new birdfinder app.

"She said she was just about to implement mongodb" says the 53-year-old office intern, reading off a Post-It note.

She hands you the crumpled note with the following tasks

  • Resignation Letter
  • Implement mongodb
  • when a user visits /sightings/new show a form to add a bird's name
  • expose an API. when a user visits api/sightings render all the sightings as JSON

Where do we flamingo from here?

The next day you run into your project manager by the photocopier. "Nice work, but I want to see the 3 most recent sightings on the index page and include the location. I think it'll really set us apart in the bird watching biz," she says, printing out her resume.

You scribble down onto a Post-It note

  • Store date information
  • Show last 3 sightings on index
  • Add address location to form

Cockatoo where are you?

As you pass the UX designer hunched over the fax machine she asks if you know the zipcode for Vermont. "If only it was as easy to look up as it is to geocode addresses with the NPM package geocoder." she chuckles.

You jot down the following onto a Post-It note

  • geocode locations and store their lat/long?
  • figure out UX designer's name

Toucan do it!

The CEO calls you into her office, mutes the TED Talk she's watching and says "You know, since getting out of Rikers I've heard a ton about this AJAX thing. I want you to put together a demo page that I can show to our shareholders. I'll tell them to go to /demo and click on a link and see all our bird data. And then I want them to type in an address and send back the lat/long all with AJAX."

  • create '/demo' page
  • ajax the bird data and render it
  • ajax a location and geocode it

Sparrow me

"People make mistakes!" you hear the receptionist sobbing. This gets you thinking "maybe we should be able to edit and update bird sightings!"

  • add edit functionality
  • get receptionist a tissue

A cheep date

You've scored a data via Coffee meets Bagel with "WebBoi87." "Her name is Janet and it says she's a dev too. Look at this online portfolio!" you say to your roommate. "Didn't you find some notes on deployment? Maybe you should get your birdapp deployed so you have something to talk about," says your roommate. "Good idea, mom."

  • go over deployment notes
  • deploy app to heroku
  • get own apartment

Owl never fall in love again

On your second Coffee meets Bagel date with Janet, you #humblebrag about your sweet new job as a developer. "This text looks kind of small, did you set a view port?" Janet says peering up from behind her Nokia Lumia. "Also your profile said you were 5'7" You cough up into your riesling and mutter, "They must not have deployed my changes." You scribble onto your hand:

  • Don't date devs
  • Add a viewport

Goose your own way

At your project manager's going away party you make small talk with the still unnamed UX designer. "Have you read this blog post on GeoSpatial queries? What if we could show bird sightings by proximity to the user?? Gimme that Post-It!"

She scribbles down the following