New SvelteKit course: fullstacksveltekit.com

OAuth with Twitter

Use Twitter OAuth 2.0 to authenticate users in your SvelteKit app

Live Demo

Technologies

How to use

First, start by cloning this folder. We will use tiged for cloning subdirectories in Git repositories.

code loading...

Next, install the dependencies:

pnpm i

Duplicate the .env.example file and rename it to .env , and update the values in the .env file. To run the migrations, run the following command:

pnpm run migrate:db

Now, you can run the application:

pnpm run dev

Open your browser and navigate to http://localhost:5173 . You should see the home page with links to the login and signup pages.

Other Recipes