Skip to content

farazdurrani/order-food

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant Web Application

This application is a rewrite of Demo Restaurant Application. The difference is that former application used MySQL database to persist data. And it was hosted on Openshift V2. And it was a Spring MVC application deployed on JBoss. This application is a Spring boot application that uses embedded tomcat and embedded MariaDB. It is hosted on Heroku.

Original application was written as part of a portfolio build up to land a job in 2015. This application was written for a retaurant on Devon Street, Chicago.

This application has a responsive and mobile first front-end using Bootstrap library. It uses JSPs for server side rendering. On the back end, it uses Spring MVC, Hibernate as a JPA implementation, and embedded MariaDB to persist data.

User Actions:

  1. A user can order food on this web application (this application doesn't accept online payment as of yet).

  2. A user can sign up to keep track of all the orders he/she has placed. User can login and logout as well. (This application doesn't use Spring Security yet).

  3. A user can order food with or without signing up for an account.

  4. A user is sent an email an account is made, and when an order is created. Admin also recieves an email. Application makes use of JavaMail API to send an email and Apache Velocity for email templates.

  5. This application keeps track of a session through @SessionAttributes and JSESSION ID as this application is deployed on a single container so above technique works.

Admin actions:

  1. Admin can sign in at https://restaurant-application-12.herokuapp.com/a to keep track of orders and to close and complete orders.

All the config parameters are passed as part of env variables.

About

Spring boot version of Web application originally written using Bootstrap, Spring MVC, Hibernate, and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors