URL: https://lovable.dev/projects/364d1d78-e7a4-4dd7-8181-98048e9f3d4a
There are several ways of editing your application.
Use Lovable
Simply visit the Lovable Project and start prompting.
Changes made via Lovable will be committed automatically to this repo.
Use your preferred IDE
If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
The only requirement is having Node.js & npm installed - install with nvm
Follow these steps:
# Step 1: Clone the repository using the project's Git URL.
git clone <YOUR_GIT_URL>
# Step 2: Navigate to the project directory.
cd <YOUR_PROJECT_NAME>
# Step 3: Install the necessary dependencies.
npm i
# Step 4: Start the development server with auto-reloading and an instant preview.
npm run devEdit a file directly in GitHub
- Navigate to the desired file(s).
- Click the "Edit" button (pencil icon) at the top right of the file view.
- Make your changes and commit the changes.
Use GitHub Codespaces
- Navigate to the main page of your repository.
- Click on the "Code" button (green button) near the top right.
- Select the "Codespaces" tab.
- Click on "New codespace" to launch a new Codespace environment.
- Edit files directly within the Codespace and commit and push your changes once you're done.
This project is built with:
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS
This project has been optimized for mobile devices with:
- Responsive layouts for all screen sizes
- Touch-friendly controls for the canvas editor
- Mobile-optimized navigation with a hamburger menu on small screens
- Larger touch targets for better usability
- Simplified UI on small screens to focus on essential features
Simply open Lovable and click on Share -> Publish.
Yes it is!
To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.
Read more here: Setting up a custom domain
- presentation no other objekts like circle get displayed
- frames für slides
- delete drawings
- menu on item/card not working
- pocketbase for users and cloud storage
- Canvas can be saved to account limit max. 5 / 25Mb (maybe compression?)
- optimize for touchscreens
- new tool eraser to erase drawings and arrows
- Admin Page with admin login for me with statistics
- Different roles (viewer, editor)
- Item/icon for card is missleading
- No rectangle objekt
- Notification on canvas only at the bottom not at the top
- Export as PDF and Image
- Only can save canvas when an objekt is added and then an image. A canvas can not be saved when only a image is uploaded
Create a collection named "canvases" Add fields:
- name (text, required)
- data (json, required)
- size (number, default 0)
- joinCode (text)
- isPublic (boolean, default false)
- user (relation to pb_users_auth, required)
Create a collection named "appSettings" Add fields:
- allowRegistration (boolean, default true)
- maxCanvasesPerUser (number, default 5)
- maxStoragePerUser (number, default 26214400)
Add fields to existing users collection:
- role (select with options "user" and "admin", default "user")
- canvasLimit (number, default 5)
- storageLimit (number, default 26214400)
- currentStorage (number, default 0)
Create a new collection named serverMetrics Add the following fields: - timestamp (DateTime) - cpu (Number) - memory (Number) - storage (Number) - activeUsers (Number) - apiRequests (Number) "listRule": "@request.auth.role = 'admin'", "viewRule": "@request.auth.role = 'admin'", "createRule": "@request.auth.role = 'admin'", "updateRule": "@request.auth.role = 'admin'", "deleteRule": "@request.auth.role = 'admin'"
@request.auth.id != "" && (user = @request.auth.id || @request.auth.role = "admin")
@request.auth.id != "" && (user = @request.auth.id || @request.auth.role = "admin")
@request.auth.id != ""
@request.auth.id != "" && (user = @request.auth.id || @request.auth.role = "admin")
@request.auth.id != "" && (user = @request.auth.id || @request.auth.role = "admin")
true
@request.auth.id = id || @request.auth.role = "admin"
@request.auth.id != ""
@request.auth.id != ""
@request.auth.role = "admin"
@request.auth.role = "admin"
@request.auth.role = "admin"
If you have a domain from Porkbun, you have a few options:
If Porkbun provides email hosting with your domain, you can use their SMTP server. Look in your Porkbun account for email configuration details.
This is more reliable for application emails:
SendGrid: Free tier (100 emails/day), great deliverability Mailgun: Similar to SendGrid Resend.com: Developer-friendly, easy to configure AWS SES: Cost-effective for higher volumes To configure in PocketBase:
Go to http://localhost:8090/_/: Navigate to Settings → Mail Settings Enter the SMTP details: SMTP server (e.g., smtp.sendgrid.net) Port (usually 587 or 465) Username (provided by service) Password (provided by service) Default sender ([email protected])