greyblake / from-typescript-to-rescript

Frontend of https://Inhyped.com written in TypeScript and rewritten in ReScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

From TypeScript To Rescript

This is an example of Inhyped frontend codebase initially written in TypeScript and then fully rewritten in ReScript.

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.

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

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

License

MIT

About

Frontend of https://Inhyped.com written in TypeScript and rewritten in ReScript

License:MIT License


Languages

Language:TypeScript 48.3%Language:ReScript 47.6%Language:HTML 2.1%Language:CSS 1.0%Language:JavaScript 0.9%