This is a Todo List application that features both frontend and backend components. The frontend is built using React, and the backend is developed with FastAPI.
The project also includes Docker configurations for containerization and Kubernetes manifests, although the Kubernetes deployment is still a work in progress.
Navigate to the react-ai
directory and install the dependencies:
cd react-ai
npm install
Navigate to the fastapi
directory and set up the virtual environment:
cd fastapi
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
To start the frontend server, run:
npm start
To start the backend server, run:
uvicorn main:app --reload
Both frontend and backend can be containerized using Docker. Dockerfiles are provided in their respective directories.
To build the Docker images, run:
docker build -t todo-list-app-frontend ./react-ai
docker build -t todo-list-app-backend ./fastapi
Kubernetes manifests are provided in the k8s
directory. Note that the Kubernetes deployment is still a work in progress.
To apply the manifests, run:
kubectl apply -f k8s/
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.