MongoDB Interview Question

Build a project from scratch that takes a legacy java codebase as an input and generates a migration plan to update the web framework to the latest version of SpringBoot and the database repository to MongoDB.