{"id":22344167,"url":"https://github.com/bberkay/sveltekit-mongodb","last_synced_at":"2025-07-30T03:30:50.587Z","repository":{"id":153387177,"uuid":"622312402","full_name":"bberkay/sveltekit-mongodb","owner":"bberkay","description":"A simple web app that built with Svelte, MongoDB and TypeScript with features such as contact with nodemailer, realtime pagination and search.","archived":false,"fork":false,"pushed_at":"2024-06-25T15:25:09.000Z","size":680,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-25T17:11:57.478Z","etag":null,"topics":["mongodb","nodejs","nodemailer","svelte","sveltekit","typescript","webapp","website"],"latest_commit_sha":null,"homepage":"https://sveltekit-mongodb.vercel.app/","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bberkay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-01T18:29:43.000Z","updated_at":"2024-06-25T15:25:12.000Z","dependencies_parsed_at":"2023-12-26T16:23:20.973Z","dependency_job_id":"7524e3c1-4064-46f3-9645-76fe52959ba3","html_url":"https://github.com/bberkay/sveltekit-mongodb","commit_stats":null,"previous_names":["bberkay/sveltekit-mongodb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bberkay%2Fsveltekit-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bberkay%2Fsveltekit-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bberkay%2Fsveltekit-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bberkay%2Fsveltekit-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bberkay","download_url":"https://codeload.github.com/bberkay/sveltekit-mongodb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228078658,"owners_count":17865959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mongodb","nodejs","nodemailer","svelte","sveltekit","typescript","webapp","website"],"created_at":"2024-12-04T09:08:48.004Z","updated_at":"2025-07-30T03:30:50.576Z","avatar_url":"https://github.com/bberkay.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align = \"center\"\u003eSimple Sveltekit App with MongoDB and TypeScript\u003c/h1\u003e\n\u003cp\u003eThis is \u003ccode\u003emain\u003c/code\u003e branch, you can also check \u003ccode\u003e\u003ca href=\"https://github.com/bberkay/sveltekit-mongodb/tree/svelte-4\"\u003esvelte-4\u003c/a\u003e\u003c/code\u003e branch to see svelte 4 version. \u003ca href = \"https://sveltekit-mongodb.vercel.app/\"\u003eLive Demo\u003c/a\u003e (The site may open slowly because I deployed the project to a free hosting server. To avoid problems that may arise due to a slow connection and to be able to use features that are not available in the demo, I recommend that you download the project to your machine and try it.)\u003c/p\u003e\n\n\u003ch3\u003eTable of Contents\u003c/h3\u003e\n\u003col\u003e\n  \u003cli\u003e\u003ca href=\"#introduction\"\u003eIntroduction\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#installation--setup\"\u003eInstallation \u0026 Setup\u003c/a\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003ch3\u003eIntroduction\u003c/h3\u003e\n\u003cp\u003eThe main purpose of this project is to learn how to use MongoDB with Sveltekit so it is very simple and detailed with comments.   \nI used MongoDB Atlas for the database and Nodemailer for the contact form.\u003c/p\u003e \n\u003cimg src=\"https://i.ibb.co/gtctgXY/sveltekit-mongodb-banner.jpg\" alt=\"sveltekit-mongodb\" border=\"0\"\u003e\n\n\u003ch3\u003eFeatures\u003c/h3\u003e\n\n- Realtime Pagination and Search\n- Contact with Nodemailer\n\n\u003ch3\u003eInstallation \u0026 Setup\u003c/h3\u003e\n\n1. Clone the repository\n```bash\ngit clone https://github.com/bberkay/sveltekit-mongodb.git\n```\n2. Navigate to the project directory and install the dependencies\n```bash\ncd sveltekit-mongodb\nnpm install\n```\n3. Create a .env file like \u003ca href =\"https://github.com/bberkay/sveltekit-mongodb/blob/main/.env.example\"\u003ethis\u003c/a\u003e in the root directory and add the following variables\n```bash\nMAIL_HOST = \u003cyour_host\u003e\nMAIL_PORT = \u003cyour_port\u003e\nMAIL_USERNAME = \u003cyour_username\u003e\nMAIL_PASSWORD = \u003cyour_password\u003e\nMONGO_URL = \u003cyour_mongodb_url\u003e\n```\n4. Run the project\n```bash\nnpm run dev\n```\n\n\u003chr\u003e\n\u003ch5 align=\"center\"\u003e\u003ca href=\"mailto:berkaykayaforbusiness@gmail.com\"\u003eberkaykayaforbusiness@gmail.com\u003c/a\u003e\u003c/h5\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbberkay%2Fsveltekit-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbberkay%2Fsveltekit-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbberkay%2Fsveltekit-mongodb/lists"}