This project is a RESTful API that allows users to create and download reusable web components. These components are defined by properties like width, height, color, and clickable links. After defining a module, you can download it as a ZIP file containing HTML, CSS, and JavaScript files.
POST /api/modules
Defines a new module.
Request Body:
type(string):backgroundortypowidth(number): Width in %height(number): Height in %color(string): HEX color (forbackground)link(string): URL to open on clickcontent(string): Text (fortypo)
Response:
id(number): ID of the created module.
GET /api/modules/{id}/download
Downloads a ZIP file with the module’s HTML, CSS, and JS files.
- Laravel: RESTful API backend
- Docker: For containerized development
- HTML/CSS/JS: To generate the components
- Email: juliaaw.business@gmail.com