Skip to content



Repository files navigation

RealWorld Example App

GitHub commit activity GitHub last commit GitHub

ReScript + React codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with ReScript & React including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the ReScript & React community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

Basically its just like React single-page-application but written in ReScript with React.

  • Using Vite as the frontend build tool
  • Seamlessly integrate with ReScript (previously known as BuckleScript/ReasonML) and rescript-react
  • Routing - ReScript React Router

Getting started

You can view a live demo over at

To get the frontend running locally:

git clone
cd rescript-react-realworld-example-app
pnpm install
pnpm start

Then open http://localhost:5173 to see your app.

When you’re ready to deploy to production, create a production build with pnpm run build and you will find result in folder /dist, after you created a production build, you can execute pnpm run serve to serve the folder.


Many thanks for your help!

The image of contributors is made with


No releases published


No packages published


  • ReScript 97.8%
  • HTML 2.0%
  • JavaScript 0.2%