Skip to content

AngelDark92/Flask-Proj

Repository files navigation

La Tavernetta

La Tavernetta - Tavern and Pizzeria - Website

Very simple website where users can order food and seats, Admin can manage the orders and stocks Restaurant Website Orders Pizzeria CS50

  • Build Status
  • Example gifs

Build Status Open Source Society University - Computer Science

Imgur GIF Imgur GIF 2

Table of Contents


Installation

  • All the code required to get started
  • Images of what it should look like

Clone

  • Clone of the repo coming soon.

Setup

All the dependencies:

cs50
Flask
Flask-Session
requests

Features

Users

  • Users can register, password is protected by hash256 via werkzeug.security.
  • Ability for users to log in and order meals and/or seats.
  • Items are first put into basket where users can choose the collection date.
  • Maximum allowed seats per day is 85, flask will take care of verifying that.
  • Ability to order full room for 65 seats.
  • For the basket the checkout with card is only a template, will need to be implemented for the system to be working properly.

Admin

  • Admin can choose to delete orders for the admin_orders page.
  • Admin can clean the orders for dates previous than the current one automatically.
  • Admin can change the number of available items at / page. (index)

Known bugs or missing features

  • Menu page will accept a value of -1 for a given item and will put it in the basket. Needs to be fixed in python.
  • Admin cannot delete individual items, only entire order.
  • Users cannot delete individual items from the basket, only from the menu page.
  • There is no connection to any credit card service provider, needs to be implemented.

Contributing

To get started...

Step 1

  • Option 1

    • 🍴 Fork this repo!
  • Option 2

    • 👯 Clone available soon.

Step 2

  • HACK AWAY! 🔨🔨🔨

Team

One person project. Meself. Made for CS50.


FAQ

  • Is the code completely optimised?

    • No, there are many things that need to be added to this to make it completely secure and to be able to make orders. (thwart username, credit card handling etc...)
  • Does this restaurant really exist?

    • Yes but I really doubt you'll be able to go ;).
  • Is everything working correctly?

    • Only as far as I can tell, if any errors are found feel free to contribute to the project.

Support

Reach out to me at one of the following places!

Releases

No releases published

Packages

No packages published