|
1 | 1 | # ReacType
|
2 |
| -Prototyping Tool for React/Typescript Applications |
| 2 | + |
| 3 | + |
| 4 | +[](https://github.com/team-reactype/ReacType/pulls) |
| 5 | + |
| 6 | + |
| 7 | +**ReacType** is a visual prototyping tool for developers employing **React** component architecture alongside the comprehensive type checking of **TypeScript**. |
| 8 | + |
| 9 | +**ReacType** allows the user to _visualize_ their application architecture dynamically, employing a _canvas display_, an _application tree_, and a _component code preview_. The user can create components and load _instances_ of these components, as well as nested HTML elements, onto the canvas. This architecture can then be _exported_ as TypeScript application files to be used as a starter template for any repository. |
| 10 | + |
| 11 | + Download for [MacOS](), [Windows](), [Linux](). |
| 12 | + |
| 13 | +### How to use |
| 14 | + |
| 15 | +- Open the application to start a new project. It will open in the root App component, with its name listed in the left panel and the component represented by the white box on the canvas. |
| 16 | +- To add a new component, type its name in the upper left panel, in the field '**Add class component**', and press enter. |
| 17 | +- To render a component **_instance_** to the screen, first select the component, or _parent_, that the instance will be rendered within. This selected component will be represented in a new canvas view, with its own white box. Then press the plus button next to the component name. An instance, or _child_, representation will appear on the canvas. |
| 18 | +- To add draggable HTML elements, select the image icons on the lower left panel. |
| 19 | +- The bottom panel allows the user to toggle between 4 different views: a tree diagram of the application, a preview of the exportable code, a form to enter component props, and a form to add HTML attributes. |
| 20 | +- **_Props_** can be added to each component within its tab on bottom panel. Enter in a _key-value pair_, select its data _type_ and press the bottom 'ADD PROP'. |
| 21 | +- **_HTML Element Attributes_** of class name and ID can be added to each HTML element after an HTML element has been rendered to the canvas. |
| 22 | +- To **_delete_** a _child_ or instance from the canvas, select the desired instance and either press the _delete_ key or click the 'DELETE CHILD' button. |
| 23 | +- To **_delete_** a _component_, click the 'DELETE' button of the desired component in the left panel. |
| 24 | +- To _start over_, select the blue 'CLEAR WORKSPACE' button in the left panel. This will **clear the entire application**. |
| 25 | + |
| 26 | +### To Export Files |
| 27 | + |
| 28 | +- Once finished setting up the application template, press the green 'EXPORT PROJECT' button at the bottom of the left panel and choose between two options to export your files: |
| 29 | + 1. Export the component files into a components folder. This option will allow a developer to add these files to an existing project. |
| 30 | + 1. Export a new project with TypeScript config files and the component files. This option will allow a developer to immediately begin a new project. |
| 31 | + |
| 32 | +#### Authors |
| 33 | + |
| 34 | +[Christian Padilla](linkedin.com/in/ChristianEdwardPadilla) [@ChristianEdwardPadilla](https://github.com/ChristianEdwardPadilla) |
| 35 | + |
| 36 | +[Tolga Mizrakci](linkedin.com/in/tolga-mizrakci) [@tolgamizrakci](https://github.com/tolgamizrakci) |
| 37 | + |
| 38 | +[Shlomo Porges](linkedin.com/shlomoporges) [@shlomoporges](https://github.com/ShlomoPorges) |
| 39 | + |
| 40 | +[Adam Singer](linkedin.com/in/adsing) [@spincycle01](https://github.com/spincycle01) |
| 41 | + |
| 42 | +## To Run Your Own Version |
| 43 | + |
| 44 | +- **Fork** and **Clone** Repository. |
| 45 | +- Open project directory |
| 46 | +- Install dependencies |
| 47 | + |
| 48 | +```bash |
| 49 | +yarn install |
| 50 | +``` |
| 51 | + |
| 52 | +- Run application |
| 53 | + |
| 54 | +```bash |
| 55 | +yarn start |
| 56 | +``` |
| 57 | + |
| 58 | +- For development experience, in one terminal... |
| 59 | + |
| 60 | +```bash |
| 61 | +yarn run dev |
| 62 | +``` |
| 63 | + |
| 64 | +- and on another terminal |
| 65 | + |
| 66 | +```bash |
| 67 | +yarn run electron |
| 68 | +``` |
| 69 | + |
| 70 | +### Logo Design |
| 71 | + |
| 72 | +## License |
| 73 | + |
| 74 | +This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/team-reactype/ReacType/blob/development/LICENSE.md) file for details. |
0 commit comments