onlinepizzeria_labor2's People
Forkers
lehorichardonlinepizzeria_labor2's Issues
Backend Order services implementation
-
Order services
-
Post order
-
Get pay methods
-
Get delivery cities
-
Get prep order
-
Post pizza prepared
-
get orders that are ready to deliver
-
session string
getUserRoles response is incorrect
Change formatting to fit the expected response JSON instead of a list.
Frontend User services
- Get All Pizzas
- Get Discounted Pizzas
- Post Order
- Get Pay Methods
Backend Authentication: missing session string validation
Validate at http://localhost:8080/api/auth
Frontend Admin Authentication service
- Verify user
- Store user
- Login
- Logout
- Auth Guards
- Route to main pages
Backend Scheduling services implementation
-
Scheduling services
-
Get scheduling algorithms
-
Post active scheduling
-
session string
Frontend Admin administrator pages
- Make deliveries page
- Add and edit users page
- Add and edit pizzas page
Pizzeria Database
- Database created in MySQL
I hope everything is correct, please correct me if it's not. Feel free to update it also.
Implementing backend services correctly
Current backend service implementations (only PizzaService though) could use some more transparency, and the use of the recommended service template. (Core, Controller, DAO, Service, Web) Future services must be implemented using this scheme.
Frontend User Cart and Order Page
- Add pizza to cart
- Display added pizzas
- Order form
Typo in pizzeria.sql
Causes error when running the sql file.
Use case diagram
- Actorok meghatározás
- Use case-ek meghatározása
- Ezek összekötése
Add Flowchart
registerUser RequstBody is not handled correctly
Should be json with fields of User and not a User object.
Rename roles to role_id and request it from authService based on the string value.
Backend: Add rolechecks for remaining roles
Roles other than admin don't have them implemented yet.
Frontend User Home page
- Navbar
- Introduction section
- Special offers
- Footer
Backend Delivery services implementation
-
Delivery services
-
Get all delivery guys
-
Post a delivery
-
Get deliveries by delivery guy
-
Post delivery done
-
session string
Üres Spring app feltöltése
Projekt elkezdéséhez szükséges lépés. Spring Boot a használt típus.
Rename order table to orders
The word order is used by MySQL, and it cannot properly execute queries using that name. (It can if we put the word in between weird quotation marks.) However, we cannot change the auto-generated queries.
By writing our own insert query, the generated id for the order won't get saved into the entity's id field, but by using the auto-generated save method, it does.
There is probably a solution to make sure a custom insert query/method return the generated id, but another solution is to rename the table.
Implement Views for all services and models
Due to Order services 'get pizzas in preparation order' method, one pizza's picture could've been sent multiple times, causing a really heavy response (over 50MBs), where the pictures are not even visible.
To fix this, I needed to implement a Views class, which introduces a public and an internal view.
Public only returns the fields which have the public annotation above them, while Internal returns public AND internal ones. JSONIgnores are still ignored on all.
Frontend User Pizza List Page
- Search function
- Search section
- Pizza List
Backend Authentication services implementation
- Create User class
- Crate AuthService
- Session ID
- register
- login
- logout
- delete
- change passwd
- get user roles
- get all user
- find user by email
Üres Angular app feltöltése
Projekt elkezdéséhez szükséges lépés.
API documentation
- [✓] Pizza service
- [✓] Order service
- [✓] Scheduling service
- [✓] Delivery service
- [✓] Authentication service
- [] Review
Backend Authentication: login response in incomplete
UserRole is missing
Frontend Admin pages for other authorized users
- Pizza preparation order page for kitchen staff
- Delivery page for delivery guys
- Scheduler selector page for the manager
Frontend Admin Navigation and Login
- Admin navbar
- Unauthorized page
- Blank admin pages and routes to them
- Login page
- Guard routes
Usecase
Usecase UML ábrájának elkészítése
Ingredient oriented scheduling
Unfortunately after days of trying to get it working, I still can't quite get it working. It puts false values into the database, also sometimes duplicates them for some reason, so for now it is never used.
Frontend Admin implement services for admin pages
- Order service
- Delivery service
- User service
- Pizza service
Joining Pizza and Ingredients is buggy
Backend Pizza services implementation
-
Pizza services:
-
Get all pizzas
-
Get all discounted pizzas
-
Post pizza
-
Update pizza
-
Delete pizza
-
session string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.