Giter Club home page Giter Club logo

galvanize_classified_1's Introduction

Galvanize Classified - Part 1

Read the entire README before beginning. Commit often.

Project Description

The app is a simple classified ad posting board.

Requirements

You are responsible for:

  • Forking and cloning this GitHub Repo.
  • Creating the test and development databases locally.
  • Creating the database migration.
  • Creating the database seed data.
  • Creating the RESTful API to handle classified resource.
  • Deployment of the API on Heroku.

Tests

We have provided tests to help you build the database migrations, seeds and routes. Use them. If you are unsure of what the test is asking for, open the test and read it. You can ask an instructor for test clarifications.

At the command line type npm test to run the tests.

TIP: When testing your migrations you may need to drop and recreate your database before running the test so that your migration changes are reflected in the database.

Classified Object

You need to create routes, seed data and migrations for the following object.

[{
	id:1,
  	title:'NES Classic',
  	description:'I got lucky and found it, and decided to charge 10x what it was worth.',
	price:600,
	item_image:'http://www.nintendo.com/images/page/nes-classic/nes-classic-edition-box.png'
},{
	id:2,
  	title:'Pikachu 9" Plush Stuffed Toy',
  	description:'Polyester fiber construction Officially licensed.',
	price:10,
	item_image:'https://images-na.ssl-images-amazon.com/images/I/41VwGotRZsL._SY300_.jpg'
}]
┌──────────────────────────────────────────────────────────────────────────────────────────┐
│                                          classified                                        │
├─────────────┬─────────────────────────┬──────────────────────────────────────────────────┤
│id           │serial                   │primary key                                       │
|title        │varchar(255)             │not null                                          │
|description  │varchar(255)             │not null      
|price        │decimal                  │not null      
|item_image   │varchar(255)             │not null                                          │
│created_at   │timestamp with time zone │not null default now()                            │
│updated_at   │timestamp with time zone │not null default now()                            │
└─────────────┴─────────────────────────┴──────────────────────────────────────────────────┘

galvanize_classified_1's People

Contributors

analogghost avatar caspeter avatar teddim 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.