- FE Web (React) - web-frontend
- FE Mobile (Android Java) - mobile-frontend
- BE (Java Spring Boot) - backend
- ML model (Python, Keras, Flask) - cnn-model
- Split each of the 4 components into their own repository and run them separately
- You will require some kind of SQL workbench software to run the db layer locally if you prefer. We used MySQL Workbench during testing, and Azure for the actual presentation.
How to install and set up React app in your computer:
- Load up terminal and cd to the folder you want the frontend app to reside in
- Ensure that you have downloaded and installed vite
- Run "npm create vite@latest lioneats-frontend"
- Follow the instructions on the screen in the CLI
- Install a few other packages in your app's directory:
- npm install bootstrap --save
- npm install axios --save
- npm install react-router-dom --save
- Take note to add in "import 'bootstrap/dist/css/bootstrap.min.css'" in the Main.jsx file
Our code is designed to recognize 10 Singaporean dishes using CNN model.
Here is some steps you may need to do beforehand:
- config your python version at least above python 3.8
- download the sklearn, tensorflow, keras, numpy , pillow , pandas
- pip install azureml-ai to get permission using Python SDK to deployment on Azure
- change all the file dir locally in prediction.py
To clone this repository, follow these steps:
-
Open your terminal or command prompt.
-
Navigate to the directory where you want to save the project.
-
Run the following command:
git clone https://github.com/username/repository-name.git
Replace
https://github.com/username/repository-name.git
with the actual URL of the repository. -
After cloning, navigate to the newly created project directory:
cd repository-name
For the other 2 applications:
- FE Mobile (Android Java) - suggest to run it normally on Android Studio, no special packages/command line instructions required
- BE (Java Spring Boot) - suggest to run it normally on IntelliJ, no special packages/command line instructions required
- Built by Soh Yong Sheng, Thet Naung Soe, Chen Yiqiu (Sophie), Zhao Ziyang, Sun Tianrui (Ray) and Lin Zeyu
- Submitted as capstone project for NUS-ISS Graduate Diploma in Systems Analysis (SA58)