A basic testing playground for https://rapid.cincinnati.ventures/ with NextJS switched from the pages router to the app router
 
 
 
Go to file
Carsten Kragelund ca429aaccc
build(format): move rust formatting to prettier
2023-07-29 16:09:12 +02:00
app feat: echo post api endpoint 2023-07-28 17:33:43 +02:00
pages/api build(format): move rust formatting to prettier 2023-07-29 16:09:12 +02:00
public init: create nextjs app with rapid-cli 2023-07-28 13:10:10 +02:00
styles init: create nextjs app with rapid-cli 2023-07-28 13:10:10 +02:00
.editorconfig build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00
.eslintrc.json build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00
.gitignore init: create nextjs app with rapid-cli 2023-07-28 13:10:10 +02:00
.prettierignore build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00
.prettierrc build(format): move rust formatting to prettier 2023-07-29 16:09:12 +02:00
Cargo.lock init: run and move to app router 2023-07-28 13:21:54 +02:00
Cargo.toml build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00
LICENSE legal: add license 2023-07-28 13:58:03 +02:00
NOTES.org docs: comment on POST endpoints in NOTES 2023-07-28 17:38:22 +02:00
README.org docs: update README 2023-07-28 14:09:16 +02:00
next.config.js build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00
package-lock.json build(format): move rust formatting to prettier 2023-07-29 16:09:12 +02:00
package.json build(format): move rust formatting to prettier 2023-07-29 16:09:12 +02:00
postcss.config.js build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00
rapid.toml init: create nextjs app with rapid-cli 2023-07-28 13:10:10 +02:00
tailwind.config.ts build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00
tsconfig.json build: add lint, formatting, and npm scripts 2023-07-29 15:51:56 +02:00

README.org

Rapid Test

This is a https://rapid.cincinnati.ventures/">https://rapid.cincinnati.ventures/ project bootstrapped with rapid new --nextjs This uses NextJS for the frontend and Rapid to allow for typesafe Rust function for the API routes.

Getting Started

First, run the rapid development server:

rapid run

Then run the NextJS development server

npm run dev

Open http://localhost:3000">http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

You can find the Rust API routes in the pages/api directory.

Learn More

To learn more, take a look at the following resources: