Bismillah, Hello Everyone.

Today, Iโ€™ll continue my mini-project to make Laundry-Apps. But, first Iโ€™ll explain how to build your own RESTFUL-API with Lumen.

Before, we start to learn. Maybe, you can read my previous introduction about Lumen in here.

Lumen Laravel

Design Database

Database Design

users: Table which stores information about the user's application. If you want to explore more about this table, maybe you can add some attributes such as first_name, last_name, mobile phone, and etc.

users_type: Role access user for access to this system. An easy example is administrators can access create, read, update, and delete products in the system, but users/employees only can access view products.

transaction: To store header each transaction that happens.

transaction_approval: Every transaction will be validated, by admin. Users only obtain information about their wash, with two options unfinished or finish.

This design maybe not perfectly splendid, you still afford to customize as you want.

Query SQL

Implement the design to your database. Enjoy it!!. ๐ŸŸ๐ŸŸ๐ŸŸ

--

--

M Sadewa Wicaksana
M Sadewa Wicaksana

Written by M Sadewa Wicaksana

Artificial Intelligence and Fullstack Engineering Enthusiast and Still Learning

No responses yet