Skip to content

jherr/rscs-vs-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/