Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pankubhaiya/unscript
https://github.com/pankubhaiya/unscript
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pankubhaiya/unscript
- Owner: pankubhaiya
- Created: 2024-04-01T07:53:52.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-02T07:49:07.000Z (10 months ago)
- Last Synced: 2024-10-27T22:23:48.386Z (3 months ago)
- Language: JavaScript
- Homepage: https://unscript-gamma.vercel.app
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ⭐ Features
- Drag and Drop elements from sidebar to board
- Edit element configuration
- Delete element from board
- Element position can be changed by dragging it across the board
- Board Elements state stored on Local Storage to persist state across page refresh## 💻 Tech / Libraries
- [React](https://reactjs.org/)
- [react-draggable](https://github.com/react-grid-layout/react-draggable) (dragging elements within the board)
- [react-drag-drop-container](https://github.com/peterh32/react-drag-drop-container) (dragging elements from sidebar to board)
- [uuid](https://github.com/uuidjs/uuid) (generating unique ID for each element)
- [Iconify](https://www.npmjs.com/package/@iconify/react-with-api) (icons)## 🕹 Usage
1. Drag and Drop Elements from Sidebar to the Board.
1. Drag the Elements on the board to change their position.
1. Click on an element on the board to select it.
1. Pressing `Delete` on keyboard will delete the element from the board.
1. Pressing `Enter` on keyboard will open a modal where you can edit element configurations.
1. Edit Element configurations (Text, X, Y, Font Size, Font Weight) and click `Save Changes` to update element state.
![Screenshot2](https://user-images.githubusercontent.com/8324407/115888757-e928f500-a470-11eb-9e21-109c530bbfc5.PNG)
## 🔧 Local Environment Setup
1. Install [Node.js](https://nodejs.org/en/)
1. Install project dependencies
```bash
npm install
```
1. Launch live server
```bash
npm run start
```