The main aim of the system is to reduce the queuing delay at the canteen. This is helpful as students and teachers don’t need to wait for a long time to receive their orders. It is a group project. It involves api for storing, ordering, retrieving food items and a frontend mobile app allowing customers to view & order food items.
-
server
- Directory contains source code for backend.
-
client
- Directory contains source code for customer frontend.
-
docs
- Directory contains design files of the project.
Install NPM Packages for Backend
cd ./server
npm install
Install NPM Packages for Frontend
cd ./client
npm install
Client app Uses ReactNativeCLI, so make sure you have installed watchman
To install Pods
cd ./client/ios
pod install
To run the backend server
npm run api
# Run the following command on another shell
npm run authServer
To run the client app on iOS simulator or phone
cd ./client
npm run ios
Ensure that you have iPhone/iPad connected or Xcode Simulator already setup.
To run the client app on Android simulator or phone
cd ./client
npm run android
Ensure that you have Android Smartphone connected or Android Emulator already setup.
To just run Metro
cd ./client
npm start