This application demonstrates an employee management system for a food delivery company. It handles functionalities like creating employees and admin with authentication and authorization, admin assigning tasks based on the employee roles, and employees can view a list of restaurant orders coming to the application and list tasks they are assigned to.
-
Flutter for web (frontend)
- Plugins/Libraries:
- provider for state management
- hive for local storage
- fluro for routing
- Plugins/Libraries:
-
Node with typescript(backend)
- Plugins/Libraries:
- express for api development
- twilion for OTP(verification)
- mysql for storing data
- JWT for tokenization and flutter_secure_storage to encrypt key value
- Plugins/Libraries:
REFRESH_TOKEN_SECRET = ****
TWILIO_ACCOUNT_SID = ****
TWILIO_AUTH_TOKEN = ****
TWILIO_SERVICE_SID = ****
ENCRIPTION_ADMINKEY_STORAGE = ****
EMS_USER_BOX = ****
ENCRIPTION_USERKEY_STORAGE = ****
EMS_USER_TYPE_BOX = ****
EMS_USER_ROLE_ID = ****
-
move to backend directory :- (cd backend)
-
If node is not installed then Install [node] (https://nodejs.org/en/download/)
-
Run the following command to load all the module dependencies for this app:
-
In my project I used nodemon for the project to run in developement or you can change script in package.Json based on your preference:
Open http://localhost: to view it in the browser.
-
move to frontend directory :- (cd frontend)
-
to start and run the flutter project