If you want to create a two-sided marketplace, you basically have three options.
First, you can develop your marketplace from scratch. Second, you can consider building a marketplace with open-source software, such as Sharetribe or Magento. Finally, you can use a Software as a Service (SaaS) solution. This article about popular types of online P2P marketplaces categorizes online marketplaces by items, participants, and approaches.