Giter Site home page Giter Site logo

devasia2112 / food-ordering-system Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 6.0 28.52 MB

A simple food ordering system that can be integrated with any website.

CSS 6.79% HTML 49.51% JavaScript 18.44% PHP 23.70% ActionScript 1.47% Batchfile 0.01% Shell 0.01% Makefile 0.01% C 0.02% Hack 0.05%

food-ordering-system's People

Contributors

devasia2112 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

food-ordering-system's Issues

order query via token

This issue is not quite an issue but and enhancement to the system. After thinking a while, it would be easier to the client to check orders using a token instead of log in into the system.
The client area will coexist with this new feature and should not be removed.

To do so, we need to implement a rest API using only GET as method request because we just need to retrieve the resource from the server. We are not going to create/edit/update/delete resources with the server.

In the future we can use the same idea to import coupons into the system using POST method, but for now let's stick to this token.

Great example of redundance

TODO

  • convert .htaccess to nginx config file.
  • for those interested in use apache as web server, the file .htaccess need review.

Cities/States/Countries data is not complete yet.

My ultimate goal is to have a complete data set with all Cities/States/Countries.

I'm open this as an issue, but in reality the code works with partial data, than it is not really an issue, but a requirement for the time being.

How to use:
If you want to set up the software to run in the country Gabon for instance, then it will be necessary to find a data set for the country with all states and cities.

All Countries are already in the data base.

At this moment I have a complete data-set of:

  • Brazil
  • Thailand
  • USA

I have partial data of:

  • Belgium
  • France
  • Germany

I'll be updating the schema as I see getting new collections of data.

Code Refactoring - from MySQL Extension to PDO Extension

The class located in: /includes/Sql/sql.class.php should use another extension to connect to the MySQL. It will be completely replaced with PDO very soon.

From PHP website:
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:

mysqli_query()
PDO::query()

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.