r-mcgrath / ReacType

🧪 Prototyping Tool for exporting React/Typescript Applications!

Home Page:http://reactype.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReacType

StarShield ContributorShield ForksShield License: MIT Version: 17.0.0

JavaScript TypeScript NodeJS Express.js React Redux Socket.io Jest Babel Git MUI Electron.js MongoDB AWS Docker

ReacType is a rapid prototyping tool that allows users visualize their application architecture dynamically, employing a drag-and-drop canvas display and an interactive, real-time component code preview that can be exported as a React app for developers employing React component architecture alongside the comprehensive type-checking of TypeScript. In other words, you can draw prototypes and export React / TypeScript code!

Visit reactype.dev to learn more about the product.

Follow @ReacType on Twitter for important announcements.

Documentation

Changes with version 17.0.0

  • Improved Testing Coverage: Testing coverage now sits at ~60%.
  • Typescript Conversion: Typescript coverage now sits at ~80%.
  • UI Overhaul: Upgraded the UI of the application with a more modern style and better developer experience
  • Marketplace Feature: Implemented a dedicated area for developers to share their projects,
  • And more: See change log for more details on what was changed from the previous versions as well as plans for upcoming features!

File Structure of Reactype version 17.0.0

Here is the main file structure:

Given to us courtesy of our friends over at React Relay

Please refer to the Excalidraw provided by ReacType Version 14.0 for more details: https://excalidraw.com/#json=JKwzVD5qx6lsfiHW1_pQ9,XJ6uDoehVu-1bsx0SMlC6w

Run ReacType using CLI

  • Fork and Clone Repository.
  • Open project directory
  • Install dependencies.
npm install
  • To run the production build
npm run prod
  • To run tests
npm run test
  • To run the development build
npm run dev
  • Note that a .env with DEV_PORT, and a NODE_ENV flag (=production or development) are needed.

  • Please note that the development build is not connected to the production server. npm run dev should spin up the development server from the server folder of this repo. For additional information, the readme is here. Alternatively, you can select "Continue as guest" on the login page of the app, which will not use any features that rely on the server (authentication and saving project data.)

  • To run the development build of electron app

npm run dev
npm run electron-dev

Run Exported App

  • Open exported project directory
  • Install dependencies
npm install
  • Build the app
npm run build
  • Start an instance
npm run start
  • Open browser and navigate to localhost at specified port

Stack

Typescript, React.js, Redux Toolkit, Javascript, ESM, Node.js (Express), HTML, CSS, MUI, GraphQL, Next.js, Gatsby.js, Electron, NoSQL, Webpack, TDD (Jest, React Testing Library, Playwright), OAuth 2.0, Websocket, Continuous Integration (Github Actions), Docker, AWS (ECR, Elastic Beanstalk), Ace Editor, Google Charts, React DnD

Contributions

Here is the up to date list of all co-developers of this product. Please visit our contribution documentation for more information on how you can contribute to ReacType!

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

🧪 Prototyping Tool for exporting React/Typescript Applications!

http://reactype.dev

License:MIT License


Languages

Language:HTML 69.8%Language:TypeScript 27.2%Language:JavaScript 2.2%Language:CSS 0.7%Language:EJS 0.0%Language:Dockerfile 0.0%Language:Procfile 0.0%