How to Build a Notion Clone with Astra DB and Mongoose
Valeri Karpov, the creator of Mongoose, demonstrates how to build a Notion clone using Astra DB and Mongoose in this insightful blog post. The process involves adapting notion-clone to use stargate-mongoose (only five lines of code) and deploying it on Vercel. Key points include upgrading Mongoose version, installing stargate-mongoose, setting up an Astra DB account and database, porting backend logic into the frontend folder, and refactoring getServerSideProps() functions to call controller functions directly. The source code is available on GitHub, and a live example can be tried out on Vercel.
Company
DataStax
Date published
Sept. 20, 2024
Author(s)
-
Word count
796
Language
English
Hacker News points
None found.