Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greyblake/from-typescript-to-rescript
Frontend of https://Inhyped.com written in TypeScript and rewritten in ReScript
https://github.com/greyblake/from-typescript-to-rescript
fp frontend functional javascript js near nearprotocol ocaml react reactjs rescript typescript web
Last synced: 8 days ago
JSON representation
Frontend of https://Inhyped.com written in TypeScript and rewritten in ReScript
- Host: GitHub
- URL: https://github.com/greyblake/from-typescript-to-rescript
- Owner: greyblake
- License: mit
- Created: 2022-01-08T12:46:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T20:29:37.000Z (about 3 years ago)
- Last Synced: 2024-12-30T02:24:43.350Z (22 days ago)
- Topics: fp, frontend, functional, javascript, js, near, nearprotocol, ocaml, react, reactjs, rescript, typescript, web
- Language: TypeScript
- Homepage:
- Size: 251 KB
- Stars: 31
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## From TypeScript To Rescript
This is an example of [Inhyped](https://inhyped.com/) frontend codebase initially written in TypeScript and then
fully rewritten in [ReScript](https://rescript-lang.org/).It's published for educational purpose and pursues a goal to demonstrate what a real ReScript project may look like.
The rewriting process was accompanied with [tweets with hashtag #FromTypescriptToRescript](https://twitter.com/hashtag/FromTypescriptToRescript).
The author does not consider himself an excellent frontend developer and both versions are far from being perfectly polished, so keep it in mind.
The source code comes without corresponding backend part. To get a feeling of what the project does,
it's recommended visiting [inhyped.com](https://inhyped.com/)### Running ReScript
Install dependencies:
```
cd rescript
npm install
```Start ReScript/OCaml compiler with watcher:
```
npm run watch
```Serve the assets:
```
npm run start
```## Similar Projects
* [ReScript RealWorld App](https://github.com/jihchi/rescript-react-realworld-example-app)
## License
MIT