Code Monkey home page Code Monkey logo

django_courses_store's Introduction

Django_Courses_Store

Make a website for selling courses to users. This website will display the courses for users, then a user can display the details of the course and decide to buy it or add a review .

Courses Store website should have the following models :

Course :

  • title
  • description
  • duration (how many days it will take)
  • price
  • image
  • online (is it online or offline , boolean)
  • start_date
  • user (use the User from Django auth models)

Review :

  • rating
  • comment
  • course (the course to be reviewed)
  • user (use the User from Django auth models)

Order :

  • course (the course to order)
  • user (the user who ordered the course)
  • date (when was the order)
  • totalprice (the course price + tax)

The website should have the following pages :

Home page

This will show the main page in the website with a list of courses for the users to buy.

Course Detail Page

  • This page will show the detail of a course (when a user clicks on the course) .
  • this page will display all the reviews abouth this course , and allow the users to add new reviews (only logged in user can add review).
  • A buy button , to buy the course and add it to the orders.

Orders Page

  • This page will display the courses that are bougth by the user and date of purchase.

Register Page

  • This page will allow new users to register.

Login Page

  • This page will be used to login users.

Add Course Page

  • Thie page will be used to let the users add new courses . NOTE: Only user who has permission to add a course will be able to add a course .

Use Bootstrap or similar library for styling.

Bonus (not required):

  • Only user who bought a course can add a review.
  • Add filtering to the home page so a user can filter by price, online or offline .
  • Add search to the home page to search for a course.

django_courses_store's People

Contributors

aqeel-aleid 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.