Рет қаралды 3,609
This is a good one! I walk through hooking up a Dockerized Mongodb instance to a SvelteKit application. Though this works exactly the same with the cloud version. I show what you need to install, how to setup and import your URI (another video link below for more on environment variables in SvelteKit). I show how to fix serializing the mongo _id field if you need to keep that value. I show how to load data into your app. I also show how to use projections to speed up your Mongodb calls to make your application faster! I hope you find this helpful!
My channel membership is live check it out here!:
/ @consultingninja
Membership perk video:
• I launched a chatbot w...
Need help? visit www.consulting...
Check out my channel @ConsultingNinja for more videos like these.
Source Code available here:
github.com/con...
Mongo DB Projection Docs:
www.mongodb.co...
Environment Variable Video:
• SvelteKit | $env modul...
SvelteKit Sandbox:
learn.svelte.d...
SvelteKit Docs:
kit.svelte.dev/