vssn / simple-auth-server

Based on Rust, actix and actix_web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple auth server

Following the tutorial Auth Web Microservice with Rust using actix-web https://gill.net.in/posts/auth-microservice-rust-actix-web-diesel-complete-tutorial-part-2/

Install Postgres

brew install postgres
rm -r /usr/local/var/postgres
initdb /usr/local/var/postgres
pg_ctl -D /usr/local/var/postgres -l logfile start
createdb postres_test

start

pg_ctl -D /usr/local/var/postgres start

To stop manually:

pg_ctl -D /usr/local/var/postgres stop

To start PostgreSQL server now and relaunch at login:

brew services start postgresql

And stop PostgreSQL:

brew services stop postgresql

About

Based on Rust, actix and actix_web


Languages

Language:Rust 93.4%Language:PLpgSQL 6.6%