rscs-vs-php

RSCS vs PHP video code

Stars
14

RSCs vs PHP (and Rust)

Running

First run the data server:

% cd data
% binserve

This will serve the pokemon data on port 8080. You can use binserve or any other fast static server.

Then run one of the following:

NextJS 13.4 App Router

% cd app-router
% pnpm i
% pnpm build
% pnpm start

Serves on: http://locahost:3001/

NextJS 13.4 Pages

% cd pages
% pnpm i
% pnpm build
% pnpm start

Serves on: http://locahost:3000/

PHP

cd php
./run.sh

Serves on: http://locahost:9000/

Rust (Axum)

cd rust-axum
cargo run -r

Serves on: http://locahost:8001/

Rust (Rocket)

cd rust
cargo run -r

Serves on: http://locahost:8000/