Coder Social home page Coder Social logo

takehomeinterview's Introduction

Take Home Interview Project

Goal

Create a web application where a user can view and add planets to a database.

Estimated time for completion:

2-4 Hours

Instructions

Use whatever programming language/framework that is most comfortable to you. The deliverable product should be the sourcecode to a runnable web application with all the requirements met. The database should be blank: you do not need to provide any data with the deliverable.

Place any special setup instructions in a file called SETUP.

Using github, you should fork this repository (Github: how to fork a reposiroy) and add the code you have written to it. When you are done, open a pull request. It will then be reviewed.

Requirements

The homepage

The homepage should contain a list or table of the planets that have been added to the database along with their name, size, distance and ordinality.

For example:

Ordinality  Name     Size    Distance
1           Mercury  0.05    0.34
2           Venus    0.08    0.72

The name of the object should link to that object's detail page.

The input form

A simple form for adding a planet to the database. The form should have 4 inputs: Name, Size (in Earth Masses), Distance (from the sun, In Astronomical Units), Ordinality (Mercury: 1, Neptune: 8) and Description.

For example:

      ____          ____              ____                ____
Name |____|   Size |____|   Distance |____|   Ordinality |____|
              __________________________________
Description: |                                  |
             |                                  |
             |__________________________________|
 ______
|SUBMIT|

Name and ordinality should be unique. Size, Ordinality and Distance should be restricted to numerical input.

The detail page

The detail page should simply display all the available information about the planet.

For example:

Mars
Mars is the dry and inhospitable 4th planet from the Sun. It is here that Matt Damon
grew potatoes using his own poop.

Ordinality: 4
Size: 0.107 Earth Masses
Distance: 1.41 AU

Hints

  1. Use sqlite/memory/flat files instead of something like mysql or postgresql to store data. This will make the setup much less complicated.

  2. Don't worry about styling: the pages don't have to be pretty, just functional.

takehomeinterview's People

Contributors

fingel avatar jnation3406 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.