A simple diet recommender system that uses Docker to manage the application's backend and frontend.
Calorie Calculator based on this.
- Download and install both Docker Desktop and Docker Compose.
- Docker
- Python
- FastAPI
- Uvicorn
- ReactJS
To run the application make sure, you already have Docker Desktop and Docker Compose.
After installing, clone this repository.
git clone https://github.com/Aibi-Green/Diet-Recommendation-System.git
Run docker-compose in terminal of your project root:
docker-compose up -d --build
After building the docker containers, open Web App with this link: http://localhost:5173
Add this into vite config
export default defineConfig({
plugins: [react()],
server: {
host: true, // this makes it work in docker container
strictPort: true,
port: 5173
}
})
Download and Install an API platform such as Insomnia or Postman.
Then, create an HTTP request (GET or POST).
Dataset - Kaggle