Skip to content
DesignSphere

DesignSphere

DesignSphere is a collaborative design platform that lets users create and edit visuals with drag-and-drop ease. Built on the MERN stack, it’s ideal for teams, offering customizable templates, images.

Created on 10th November 2024

DesignSphere

DesignSphere

DesignSphere is a collaborative design platform that lets users create and edit visuals with drag-and-drop ease. Built on the MERN stack, it’s ideal for teams, offering customizable templates, images.

The problem DesignSphere solves

DesignSphere is a powerful, collaborative design tool built to simplify visual creation for events, projects, presentations, and more. Here’s how it helps users achieve their design goals with ease and efficiency:

Key Benefits:
1.Effortless Customization: Use drag-and-drop functionality to easily arrange text, images, and shapes, without complex
design software.
2.Template Library: Get a head start with customizable templates. Just choose one and personalize it to suit your needs, saving
time on layouts and design basics.
3.Asset Management: Upload your images or choose from the provided assets to maintain a consistent style and streamline
project asset handling
4.Export Options: Export designs in multiple formats, perfect for digital sharing or print.
5.Print with Local Shops: Get professional prints by sending finalized designs directly to partnered local print shops,
enhancing convenience and ensuring quality results.

How It Simplifies Design Tasks:
DesignSphere lets users create polished visuals quickly, with intuitive controls for producing professional-quality results. It’s perfect for events, presentations, and social media campaigns, eliminating the complexity of traditional design tools.

With DesignSphere, users can produce, share, and print engaging designs, all in one secure and accessible platform.

Challenges we ran into

One challenge in DesignSphere was making image links work seamlessly across different environments (local, development, and production) while supporting features like drag-and-drop, event integrations, and immediate design uploads.

Problem:
When users uploaded images or dragged and dropped assets onto the canvas, we wanted these images to display accurately across different devices and locations. Initially, image URLs would vary depending on where the server was hosted, leading to broken links or missing images when users accessed designs from different environments. This inconsistency also impacted event-triggered actions, like auto-saving and retrieving images, which are key to the drag-and-drop and instant save functionalities.

Solution:
To make image links globally accessible and reliable, we implemented the following:

Uniform Directory Structure: We created a standardized folder within the server (e.g., /uploads/images) that stores all design-related images. By maintaining a consistent path structure, we could ensure that image links remained predictable and accessible.

Dynamic URL Generation: Instead of hard-coding URLs, we built a function to dynamically generate absolute URLs based on the server environment. This function automatically prepends the appropriate base URL (e.g., development server URL or production domain) to each image path.

Instant Upload on Save: For a smooth experience, we set up an event listener on the Save button that triggers an image upload and database update immediately. This way, the image is stored securely on the server as soon as the user clicks "Save," with the correct URL embedded in the design.

By standardizing image storage paths, generating environment-specific URLs, and optimizing save events, we ensured that images loaded correctly across all devices and environments. This approach kept our drag-and-drop functionality smooth, allowed for real-time event integrations, and made saving designs instant and reliable.

Tracks Applied (1)

Webster

"DesignSphere" fits into the Webster track as an innovative and user-centric web application that focuses on empowering ...Read More

Discussion

Builders also viewed

See more projects on Devfolio