Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An exemplary real-world application built using ReScript and React

License

NotificationsYou must be signed in to change notification settings

jihchi/rescript-react-realworld-example-app

 
 

Repository files navigation

RealWorld Example App

GitHub commit activityGitHub last commitGitHub

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

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

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

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

How it works

Basically its just like React single-page-application but written inReScript withReact.

  • UsingVite as the frontend build tool
  • Seamlessly integrate withReScript (previously known as BuckleScript/ReasonML) andrescript-react
  • Routing - ReScript ReactRouter

Getting started

You can view a live demo over athttps://rescript-react-realworld-example-app.vercel.app

To get the frontend running locally:

git clone https://github.com/jihchi/rescript-react-realworld-example-app.gitcd rescript-react-realworld-example-apppnpm installpnpm start

Then openhttp://localhost:5173 to see your app.

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

Contributors

Many thanks for your help!

The image of contributors is made withcontrib.rocks.

About

An exemplary real-world application built using ReScript and React

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ReScript97.8%
  • HTML2.0%
  • JavaScript0.2%

[8]ページ先頭

©2009-2025 Movatter.jp