GithubHelp home page GithubHelp logo

assessment-4's Introduction

Assessment 4: Django

  • Craigslist Jr

Rules / Process

  • This test is fully open notes and open internet, but is not to be completed with the help of other students/individuals
  • Do not open a pull request until Saturday at 8am.

Requirements

  • This assessment must be completed using Django.
  • You may use either SQLite3 or PostgreSQL for your database. (SQLite3 preferred)
  • You can use either class or functional views

Challenge

Everyone loves going on Craigslist to find interesting people and interesting items. The joy of Craigslist is that it doesn't upgrade itself to stay up to date with the times - it's the same old Craigslist that everyone knows and loves. The core schema has also remained relatively unchanged over the years. Today, you will build a basic Craigslist CRUD app with nested routes. We will call this site: Craigslist Junior.

Here are a list of the routes you will need to build:

  • /categories: A page listing all the categories
  • /categories/new: A page with a form to create a new category
  • /categories/:category_id: A page to view the detail of a specific category and a list of all of its associated posts
  • /categories/:category_id/edit: A page with a form to update a specific category, with current values filled in already. Also include the ability to delete the specific category here.
  • /categories/:category_id/delete: A page with a form to delete a specific category.
  • /categories/:category_id/posts/new: A page with a form to create a new post, under the current category by default.
  • /categories/:category_id/posts/:post_id: A page to view the detail of a specific post. Also include the ability go back to the parent category detail page (/categories/:category_id/)
  • /categories/:category_id/posts/:post_id/edit: A page with a form to update a specific post, with current values filled in already. Also include the ability to delete the specific post here.
  • /categories/:category_id/posts/:post_id/delete: A page with a form to delete a specific post.

NOTE: For creating, updating, or deleting data... all actions should automatically redirect to another appropriate page, if successful, or display an error message if unsuccessful.

assessment-4's People

Contributors

ankur-cp avatar chad-mowbray avatar jyoung217 avatar noaheinrich avatar tomprete 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.