Skip to content

Maxson52/sveltekit-express-google-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

SvelteKit + Express Auth Template

A barebones authentication template using SvelteKit on the frontend and Express on the backend. Featuring Passport and Google OAuth 2.0 for the user authentication.

Run Locally

Clone the project

  git clone https://github.com/Maxson52/sveltekit-express-google-auth

Go to the project directory

  cd sveltekit-express-google-auth

Install dependencies and run client

  cd client
  npm install
  npm run dev

Install dependencies and run server

  cd server
  npm install
  npm run dev

Note:

Environment variables on both the client and server need to be setup. See the .env.example file for reference

Deployment

To deploy the server

  cd server
  npm run start

And the client (using your preferred adapter)

  cd client
  npm run build

About

A web-app template featuring a SvelteKit frontend and Express backend, with Passport and Google OAuth 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published