Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

josephvore/restaurant-project

 
 

Repository files navigation

Restaurant Project

Breakdown

  1. Create your Python final project
  2. Define the applications that will be needed
  3. Admin and anonymous user
  4. Create the applications
  5. Modify the settings.py file to include the 1. application classes
  6. Define the view functions that will be needed
  7. Write the basic structure for each view function that will return a string identifying the view 1. function (i.e. About, Contact, Search, etc.)
  8. Create the applications urls.py files and define the route (path) for each view function
  9. Modify the project's urls.py file to include each application's urls.py file
  10. Confirm that the basic navigation works

App design:

Applications needed Admin

  1. /admin
  2. Name: admin
  3. CRUD available restaurants. Normal User / Name: app-restaurants Search, random, and preferential restaurants etc...

View Functions (Controller)

Admin

  1. Create
  2. Read
  3. Update
  4. Delete

Normal users

  1. Read restaurants
    1. getAll()
  2. Get random 1. restaurant (from 1. available)
    1. getRandom()
  3. Search restaurants
    1. searchAvailable1. (input)
  4. Get recommendation
    1. getRecommended(input)

Templates (views) Admin CRUD restaurants view Normal users Get restaurants view Restaurants results view

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 38.8%
  • CSS 35.4%
  • HTML 18.9%
  • Python 6.9%