yozhgoor / sami

Sami (Rust, Typescript and PostgresQL Fullstack Web App)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sami

Sami (Rust, Typescript and PostgresQL Fullstack Web App)

This is a fullstack personal blog application for myself written in:
API BACKEND – RUST/actix/postgresQL
FRONTEND β€” Typescript/Remixjs

How To Run Locally

  • Register for Auth0 https://auth0.com following the steps here https://auth0.com/blog/build-an-api-in-rust-with-jwt-authentication-using-actix-web/ to get your Bearer token ready
  • Add Postgres DB variable to `/backdoor/.env;` format: `DB=****************`
  • Add Bearer token variable to `/frontdoor/.env;` format: `TOKEN=******`
  • cd into `backdoor` and run `cargo run` -- to start the api route locally `localhost:5500`
  • cd into `frontdoor`and run `npm run dev` -- to start the frontend locally `localhost:3000`

Boom πŸš€πŸš€πŸš€!

About

Sami (Rust, Typescript and PostgresQL Fullstack Web App)


Languages

Language:Rust 59.6%Language:CSS 29.3%Language:TypeScript 9.8%Language:JavaScript 1.3%