Skip to content

ChangedNameTo/vite-tailwind-rust-postgres-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-tailwind-actix-rust-postgres-starter

I was looking for a guide on implementing Oauth2 in Rust and found this: https://codevoweb.com/how-to-implement-google-oauth2-in-rust/, but wasn't able to find anything that described how to implement it using a backing database. So I decided to do it myself as an exercise!

You will need to update the values in env.example then rename to .env

Also make sure that the redirect URI is set in the google cloud console like so: image

This is a Vite/React + Actix Web/Rust + PostgresQL stack. Build with docker-compose up --build and a valid .env. If all of the config values are set properly and the image builds, you should be able to use an existing Google account to log in like so: image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published