Giter Site home page Giter Site logo

mohsinalimat / restaurantserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdsahilak/restaurantserver

1.0 2.0 0.0 240 KB

A Vapor swift backend server for a restaurant's Ordering, Admin, Kitchen and Billing Aspects.

Swift 92.82% CSS 0.01% Dockerfile 7.17%

restaurantserver's Introduction


Restaurant Server

A Vapor swift backend server for the Ordering, Kitchen, Billing and Advertising aspects of a restaurant.


Setting Up and Using the Server:

  1. Run the Xcode Project (make sure Run scheme and mac is selected as your device).
  2. Visit http://localhost:8080/ on your browser. This is the home page of the server. If you visit the billing or kitchen links on the website, it will be blank as no orders have been sent, yet.
  3. Also, there are no menu items on the servers menu. You could add custom menu items using the RestaurantAdmin mac app. For now, let’s just load a few preset items. Go to your terminal and type the following command and press enter -> curl -X POST http://localhost:8080/init.
  4. It show a response stating that sample items have been initialised.
  5. You can now use the iOS app to order the loaded items.
  6. After ordering, the kitchen route will show the orders sent to the kitchen. On serving the order, press the ’served’ button.
  7. Now the served orders will be present in the bills route. This part is for the billing counter, where the customer can pay the bill.

Thank you

restaurantserver's People

Contributors

sahil-ak avatar mdsahilak avatar

Stargazers

MohsinAli avatar

Watchers

MohsinAli avatar  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.