ezyManage is a web application backed by Spring Boot and MySQL, that helps you manage your shops including products, inventory, staffs, customers, orders and payments.
- Write dummy data for the database in queries.sql.
- Edit products
- Update profile
- Any owner or staff can open any shop from link
- ROLE_USER - User with limited access to past orders, stores they visit, etc.
- ROLE_ADMIN - User with full access to all the shops, products and users.
- ROLE_OWNER - User with full access to all the shops under him, and limited access to its customers and staff.
- ROLE_STAFF - User with partial access to shop they work in.
Role | Is created by |
---|---|
ROLE_ADMIN | Manually entering value in the database |
ROLE_OWNER | Admin, By request |
ROLE_STAFF | Owner |
Note:
- A new registrant is initially a USER, though they can opt to start a store and get an additional role of an Owner.
- The owner has the access to add its staff but that staff must already be an user.
Posssible combinations:
- ROLE_USER, ROLE_ADMIN
- ROLE_USER, ROLE_OWNER, ROLE_ADMIN
- ROLE_USER, ROLE_OWNER
- ROLE_USER, ROLE_STAFF
- Register a user
- Go to database, and append " ROLE_ADMIN" to its role, and make is_admin = 1
Username: admin
Password: admin
- Register a user
- Request to get owner role, open admin panel, and accept its request
- git init
- git add .
- git commit -m "test"
- heroku create (optional)
- heroku git:remote -a ezy-manage
- git push heroku master (optional)
- git push origin master
- heroku logs --tail
- git add .
- git commit -m "test"
- git push heroku master (optional)
- git push origin master
- heroku logs --tail
Note: Link to MySQL Server - https://remotemysql.com/databases.php
- #2E2966 Jacarta
- #433B84 Victoria
- #4C4B8B East Bay
- https://coolors.co/231d59-312d68-39367d-413e85-4b4988
Run SQL queries using running this command inside MySQL Command Line
source \home\user\Desktop\test.sql;