Skip to content

Restaurant project created for Intruduction to Web Applications course (WDAI) at AGH 2021/22

Notifications You must be signed in to change notification settings

bgawkuc/Restaurant

Repository files navigation

Restaurant

Restaurant website created for Intruduction to Web Applications course (WDAI) at AGH 2021/22

Technologies used:

  • Angular
  • Typescript
  • HTML
  • SCSS
  • Firebase

Home page

Restaurant is a website created to order dishes.

Menu

As unlogged user you can browse the menu, use custom filters, change currency in which the prices are displayed and change number of dishes on the website.

Sign in/ Sign up

To access other options you need to sign in. Thanks to AuthGuards you can't access other components without signing in.

There are 3 different types of accounts:

  • customer
  • manager
  • admin

You can create new customer account or sign in using this data:

login password user
admin1@gmail.com admin1@gmail.com admin
manager1@gmail.com manager1@gmail.com manager
customer1@gmail.com customer1@gmail.com customer

Dish details

As logged user you can click on the dish image to see more details. In dish details view you can see dish description, rate and reviews. If you add dish to trolley you can add (only one) dish rate or review. Manager is not allowed to add rates or reviews.

Trolley

After signing in you can add dishes to trolley. In trolley you can see your whole order or change number of added dishes.

Admin view

Only admin has access to admin view. He can add/delete roles (admin, manager, customer) or ban/unban other users.

Dish manager

Admin and manager have access to dish manager. There they can change menu - update, remove or add dishes.


Project details

This project was generated with Angular CLI version 13.0.4.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

Restaurant project created for Intruduction to Web Applications course (WDAI) at AGH 2021/22

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published