Code Monkey home page Code Monkey logo

cl-clone's Introduction

Craigslist Clone w/ API

Create a Craigslist clone from front to back.

Learning Objectives

  • Plan a full scale project
  • Translate high level feature requests into code
  • Image upload and display
  • Front end layout

Features

  • Login/Registration/My Account
  • City selection page
  • Ability to store a city preference on user profile
  • Category and subcategory features
  • Main page index (listing categories and sub categories)
  • Implement a Search feature
  • Posting a new classified
  • Posting list for any given subcategory. Must include 3 different data views:
    • List
    • thumb
    • gallery
  • Posting detail page. Should include:
    • Images
    • Navigation
  • Sorting:
    • Newest
    • High Price
    • Low Price

REST API features

Learning Objectives

Adapt an existing large project to include API endpoints that mimic existing functionality and constraints

Base URL: https://cl-dhcrain.herokuapp.com/api/

  • Retrieve a list and detail of existing Categories
    • /categories/
    • /categories/:id/
  • Retrieve a list and detail of existing Sub-Categories
    • /sub_categories/
    • /sub_categories/:id/
  • Retrieve a list and detail of existing Posts by Sub-category & by Category
    • /category_listings/:id/
    • /sub_category_listings/:id/
  • Allow a user to create new categories and sub-categories through the API - but ONLY if they have is_superuser flag on their account.
  • Retrieve a detail of a single post.
    • /listings/:id/
  • Create a new Listing with all Foreign Key fields satisfied
    • /listings/
  • Update an existing post. Include being able to change the Sub-Category the post belongs to.
  • Allow a user to create an account through the API and return the user their API Access Token
    • /register/
    • /api-token-auth/
  • A non logged in user can NEVER create or update ANY records.
  • A logged in user can NEVER update a record created by another user.
  • Use Basic or Token authentication to allow a user to authenticate.

cl-clone's People

Contributors

dhcrain 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.