Build a powerpoint (ppt) web application. You can refer Google slides for UI. The web application should support below use cases.
- As a user, I should be able to see a white slide (white background) for adding text and image objects.
- As a user, I should be able to see a toolbar with text and image icon.
- As a user, I should be able to add a text object on the slide by clicking the text button.
- As a user, I should be able to edit a text object by clicking it. When the text object is selected text formatting toolbar should be visible.
- As a user, I should be able to apply bold, italics and underline on the text.
- As a user, I should be able to add an image object on the slide by clicking the image button.
- As a user, I should be able to able to resize both text and image objects by selecting the border of the object.
- As a user, I should be able to drag and drop both text and image objects by selecting the border of the object.
Steps to Run:
- Open index.html file
- Click on Add text button to add a new text box
- You can apply all the text editor features to the text
- Press delete button to delete the text box
- Click in Add image button to upload an image, you can upload multiple images
WebPack Configuration:
- npm init -y -
- npm i webpack --save-dev
- npm i webpack-cli --save-dev
- webpack --mode development
- Now edit the package.json file and add the "build": "webpack"
- Now create webpack_config.js file
References:
- https://geeksforgeek.org
- https://w3schools.com
- http://www.valentinog.com/blog/webpack-tutorial/
- https://cdn.ckeditor.com/ To include a library for text editor