git clone https://github.com/ProPhycient5/my_page_builder.git
npm i
npm start
Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.\
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
(i) Canvas - Actaul page where we can create actual page by dropping the required component from right side.
It covers 80% of the space.
(ii) Side Bar - It consists few draggable components like `Button`, `Label` and `Input`. On the top,
we have `Export JSON` button to actual export page configuration in JSON pattern.
`Text`, `Xcoordinate`, `Ycoordinate`, `fontSize` and `fontWeight`
5. If we want to update any node with data that is covered in (3), click that node, hit Enter
button to update so.
6. All nodes on the canvas are persisted to localStorage
, so it won't vanish until we clear the localstorage.clear()
explicitely.
7. And lastly if we want to keep backup of the page structure in JSON format, we can use Export JSON
to do so.
The following GIF demonstrates how the concerned webapp works