Giter Site home page Giter Site logo

yago's Introduction

Cafeteria Ordering System

This is a demo application which allows placing orders for customers and managing placed orders. It implements authentication, separate user roles for customers and cafeterias, order management (including tracking and updates).

Requirements

  • PHP 7.x or higher
  • MySQL

The above requirements can be fulfilled as WAMP, LAMP, or MAMP setups.

Installation

  1. Create the project directory in the .../www directory as per your operating system.
  2. Configure the username, password, and database name in ./app/includes/DatabaseEngine.php.
  3. Set the database name in ./sql/generate.sql at lines 1 and 2.
  4. Execute the DDL script generate.sql by running the command below:
mysql -u <USEERNAME> -p < ./sql/generate.sql
  1. Navigate to the URL specified by your installed server.

Architecture

This application follows a typical MVC architecture. All code is nested under ./app. Models, views, and controllers are stored in their respective subdirectories. Some common view elements are stored in ./app/includes along with DatabaseEngine.php that initializes a throwaway database connection. All routing information is stored in ./app/config/routes.php.

yago's People

Contributors

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