hulloitskai / web-project-template

A project template for full-stack web projects with Rust and NextJS.

Repository from Github https://github.comhulloitskai/web-project-templateRepository from Github https://github.comhulloitskai/web-project-template

web-project-template

A project template for full-stack web projects with Rust and NextJS.

Setup

  1. Clone the repo:

    git clone git@github.com:hulloitskai/web-project-template
  2. Bootstrap the workspace:

    ./bootstrap-workspace.sh
  3. Fill out .env file:

    vi .env
  4. Start background dependencies:

    docker compose up -d
  5. Run database migrations:

    cd migrator && yarn up
  6. In Terminal 1, start api:

    cd api && cargo run
  7. In Terminal 2, start web:

    cd web && yarn dev

Teardown

  1. Close both Terminal 1 and Terminal 2.

  2. Stop background dependencies:

    docker compose down

About

A project template for full-stack web projects with Rust and NextJS.


Languages

Language:Rust 54.6%Language:TypeScript 35.7%Language:JavaScript 4.2%Language:Dockerfile 3.9%Language:Shell 1.5%Language:CSS 0.2%