rapid-test/README.org

32 lines
959 B
Org Mode

2023-07-28 14:07:55 +02:00
* Rapid Test
This is a [[Rapid][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:
#+BEGIN_SRC bash
rapid run
#+END_SRC
Then run the NextJS development server
#+BEGIN_SRC bash
npm run dev
#+END_SRC
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:
- [[Next.js Documentation][https://nextjs.org/docs]] - learn about Next.js.
- [[React Documentation][https://react.dev/]] - learn about React.
- [[Rapid Documentation][https://rapid.cincinnati.ventures/docs]] - learn about Rapid.