You can start with a monolith and evolve it into microservices. Very broadly:
1. Start the monolithic app
2. Write internal classes and functions such that they mimic an independent API and schema
3. Write an API wrapper around unique functionality
4. Allow exposing APIs on unique service ports
5. Run independent copies of your app, running one API at a time
6. Separate the schema of each API into its own database and connect at runtime
7. Now you have a microservice