- Make sure Node.js and NPM is installed in your system
cd
tobackend
folder- Execute this command
npm install
to install the required dependencies - Execute this command to run the server
npm run dev
.
- Make sure flutter is setup in your system
cd
tofrontend/smart_attend_app
folder- Execute this command
flutter pub get
to install the required dependencies - Make sure to change the
serverUrl
in the filelib/helpers/app_constants.dart
file. - Execute this command
flutter run
to run the app in debug mode - To create release apk file execute this command
flutter build apk --release
- Make sure not to use
localhost
as the server url if running this project locally. - Make sure the computer and the mobile should be in the same network.
- Server is hosted on Renderer free tier which will sleep after some time of inactivity so if you dont receive notification in 30 seconds then give it a try after 1 or 2 minutes