
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
@codewithshin/svelte-auth
Advanced tools
Register, Login, Forgot password, Reset password components using Sendgrid and MongoDB.
Sveltekit-auth app made with Sveltekit and Mongodb Cloud on top of refact0r/sveltekit-todos.
Install SvelteKit:
npm init svelte@next sveltekit-demo
cd sveltekit-demo
npm i
Install Tailwind CSS:
npx svelte-add@latest tailwindcss
npm i
Run it:
npm run dev
Install Flowbite and Flowbite-svelte
npm i -D flowbite flowbite-svelte
npm i -D @lukeed/uuid @sendgrid/mail cookie dotenv jsonwebtoken jwt-decode mongodb nodemailer nodemailer-sendgrid string-hash uuid
git clone git@github.com:shinokada/svelte-auth.git
cd svelte-auth
npm install
.env.example to .env and update itMONGODB_URI="your-mongodb-uri"
NODE_ENV="development"
SECRET="your-secret"
MAILTRAP_USER="your-mailtrap-user"
MAILTRAP_PASS="your-mail-trap-pass"
DEV_URL="http://localhost:3000"
EMAIL_FROM="hello@example.com"
NAME_FROM="John Doe"
SENDGRIP_API="sendgrid-api-key"
You need to have a MongoDB running or create a free new
account. I used Mailtrap for development. You need
to create a free new account for development. If you are not using
Mailtrap, you need to update the src/lib/nodemailer.js file.
npm run dev
FAQs
Register, Login, Forgot password, Reset password components using Sendgrid and MongoDB.
The npm package @codewithshin/svelte-auth receives a total of 7 weekly downloads. As such, @codewithshin/svelte-auth popularity was classified as not popular.
We found that @codewithshin/svelte-auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.