Giter Club home page Giter Club logo

lunchorder's Introduction

Visual Studio Team services Travis Master branch Coveralls Master branch Code Climate David

lunchorder

Lunch order is a web application where a user can order lunch using money that was paid in advance. The order will then be delivered by a lunch company at lunchtime. In essence, it should solve the following problems:

  • Users that forget to pay for lunch
  • Users that log the wrong payment amount
  • User can order from a remote location
  • The order will be sent to the lunch company on time
  • Correct total payment amount will be known up front and ready on delivery.

The application is being been developed primarily to get a better understanding on how angular2 works.

Codit

Running the application

Please see the wiki installation section

Our local development is done in Visual Studio Code (frontend) and [Visual Studio 2015] (WebApi backend).

Technology

Front-End:

Back-End:

Demo:

https://www.lunchorder.be/

Admin users

username: demo_admin, password: demo_admin

username: demo_admin1, password: demo_admin1

...

username: demo_admin10, password: demo_admin10

Normal users

username: demo_user, password: demo_user

username: demo_user1, password: demo_user1

...

username: demo_user10, password: demo_user10

License information

Lunchorder is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the web application. But you always need to state that Codit is the original author of this web application.

lunchorder's People

Contributors

jvanderbiest avatar samvanhoutte avatar tomkerkhove avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lunchorder's Issues

Implement Badges

When an order has been made, we need to
save some pointers for easy badge calculation
have asynchronous calculation after an order / prepayment has been made
use SignalR to notify the user of the badge
show a list of unlocked badges to the user

Order button bugs

  • When using a small screen the order button is not visible.
  • When using a larger screen, the animation of the order button is also to far to the left

Prepayment audit

  • When prepayment is entered by a prepay administrator, this transaction should be stored in a document / user.
  • Prepay audits should be visible for the user so he has a historical view of his payments.

Cancel an order

When an order has been cancelled it should:

  • delete the order from user order history
  • delete the order from vendor order history
  • delete the order from last 5 orders
  • update user balance
  • revert badge calculation / badge distribution

Put events on servicebus

Whenever an event happens on the platform, optionally send this event to Microsoft Azure Servicebus for event later event processing.

Login enhancements

  • A user token should be stored to local storage and only be renewed when it has been expired
  • After login, page should scroll down to menu bar

WebApi skeleton

Create a new WebApi

  • Use DI
  • Use Swashbuckle
  • Create test project
  • Implement user authentication / authorization

Website Skeleton

Create a basic web skeleton in bootstrap 3 using Sass (or Less).

Should have the following characteristics:

  • User context
  • Simple menu
  • Responsive

Random splash image

The welcome image could be random or different each day.
something like [dayofweek].jpeg using js

Random order

Should be possible for the user to use a "random" button so he can order something without knowing up-front what he will receive in the end.

User lunch favorites

A user should be able to mark a lunch order as a favorite so he could easily reorder the same item again.

Add reminder

Possiblity for the user to

  • to have a reminder by email
  • to have a reminder using a Chrome / FF desktop notification
  • remind a user when he's close to zero balance

User Order history

  • Keep track of last 5 orders of a user on backend
  • Visualize them on frontend

Sticky Header

The header of the homepage is not sticky after scrolling.
In the original template, this was the case.

Create a gulp task for deployment

Create a gulp task to deploy the website in release mode, this includes:

  • copy resources (images, css, js, fonts, ...) to dist folder
  • concatenate and minify javascript / css
  • uglify javascript
  • dynamically replace js and css references on index page.
  • compile typescript using tsconfig
  • minify images
  • zip the package for Azure deployment
  • transform api configurations

lunch menu editor

An administrator must have the ability to

  • Create a new menu
  • Edit the current menu (categories, items, prices)
  • Select an active menu (this should also disable the current active menu)
  • Mark a menu as deleted

how to plugin javascript parameter data

Currently WAAD tenantId and clientId are in ts source. How can we replace this @ dev time and build time? Keep in mind that the file cannot be changed as it will be checked in otherwise in source control.

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.