saasify-sh / twitter-search
- среда, 15 апреля 2020 г. в 00:22:02
TypeScript
Instantly search across your entire Twitter history with a beautiful UI powered by Algolia.
Instantly search across your entire Twitter history with a beautiful UI powered by Algolia. (link)
This entire product was built and launched in around 8 hours.
The only reason it was possible to build a production-quality SaaS MVP this quickly was because Saasify handled all of the tedious parts, including:
All of this functionality and most of the UI was auto-generated from this simple saasify.json config file.
The key is that Saasify handles all of this boilerplate for you, allowing you to focus solely on your product's unique value proposition.
Twitter Search's unique value prop comes in the form of two pieces: a REST API that handles the core functionality (src/) and a webapp for the UI (web/).
The REST API is written in TypeScript using Koa and tsoa. Each API endpoint receives some custom headers from Saasify's API proxy that let it know everything about the authenticated user making the request.
These headers include:
x-saasify-user - String ID of the authenticated user making the API call.x-saasify-plan - String slug of the pricing plan this user is subscribed to.The embedded webapp can be viewed from the dashboard and is a standard Create React App written in JavaScript. It's embedded in an iframe within Saasify's auto-generated host SPA which informs the webapp of the details for the authenticated user via a small JS script called saasify-sdk.
The React webapp also uses Chakra UI as a beautiful and lightweight component library.
Of course, this product's core feature set wouldn't be possible without Algolia powering the search and ZEIT hosting the serverless API and embedded static webapp.
The way this product was built may sound a bit complicated and it's definitely not as simple as we'd like at the moment. Even so, we hope it provides a good example of Saasify's potential to help developers quickly get their ideas off the ground.
Our team is working very hard to improve the developer experience that Saasify provides, and we hope to make this type of integration much simpler in the coming months. Feel free to follow our progress via our open source repo.
Some of the related roadmap items that I'm particularly excited about include:
If you want to learn more about how Saasify works and experiment with rapidly launching your own SaaS products, check out our docs and feel free to get in touch.
MIT © Saasify