This is the repository of a plant management app designed to automate and enhance the care of home plants.
Clone the project
git clone https://github.com/fcortevargas/plant-mania.gitGo to the project directory
cd plant-maniaThe database and the backend are containerized using Docker to simplify the development and to ensure that the application runs consistently across different environments.
To run the Docker containers for the database and the backend:
docker-compose upThis project uses Alembic to handle database migrations. To create a migration:
alembic revision -m "description"Then, to upgrade to the latest revision:
alembic -n <name> upgrade headTo downgrade all the way to the first revision:
alembic --n <name> downgrade baseTo see the documentation of the FastAPI endpoints:
http://localhost:8000/docs