Next Steps
Deploy all services to production and customize your marketplace with additional features.
Read as Markdown
You’ve now built a full Metanet 3D-Marketplace where users can upload and purchase files! This includes:
- A frontend with Upload, Store, Details, and Account pages
- A backend overlay that admits objects and facilitates secure querying and lookups
- A key server managing encryption keys, payments, balances, and withdrawals
Deploying Your Marketplace
We’ve been running all three services locally with LARS (and Node for the key server), but moving them to production is quite simple!
-
Frontend & Overlay
- Configure your
deployment-info.jsonfor CARS - Update
frontend/src/constants.tsto pointkeyServerat your production key-server URL - Run
cars build 1andcars release now 1(replace1with your production CARS configuration index)
- Configure your
-
Key Server
- Push
key-server/to your preferred cloud provider (GCP, AWS, etc.) - Set environment variables from your
.env(MongoDB URI, private keys, network preset, etc.) - Start the server
- Push
Once deployed, users can browse, purchase, and manage files in your live marketplace!
2. What’s Next?
This demo can be the foundation for any Web-3 ecommerce site and can be built upon to become:
- Sell digital art, ebooks, music, or tickets
- Add search filters, ratings, comments, or subscriptions
- Integrate analytics, email notifications, or multi-chain support
Make it yours!
🎉 Congratulations! You’ve built and deployed a full Metanet marketplace!
