New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI for Database Connection Add and Delete #170
Comments
💎 $150 bounty • Scratch Data (YC S21)Steps to solve:
Thank you for contributing to scratchdata/scratchdata! Add a bounty • Share on socials
|
Hello 👋 Maybe I'm blind, but I don't see a frontend folder in the main branch? |
Hi! @CodeMan99 it is in a branch called svelte-2 |
@poundifdef Awesome. Have it up and running. /attempt #170 Seems straight forward enough. It might take me a moment to spin up on everything. Would you be interested in adding a devcontainer for this project (vscode docs)? I currently have a docker-compose configuration with a clickhouse sidecar container. Options |
@poundifdef I am currently working on part 2 (Add connection) and I think you'll be very pleased with the result. |
Almost there! |
💡 @CodeMan99 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
@poundifdef Anything else needed here? |
@CodeMan99 Nope, will get the payment processed shortly (hopefully today - there was a bug on the payment screen but I emailed the algora folks and they're fixing!) Will also have new similar bounties coming up soon so stay tuned. |
🎉🎈 @CodeMan99 has been awarded $150! 🎈🎊 |
The goal of this ticket is to add a basic UI to add and delete new database destinations. This will be done purely in SvelteKit. The backend endpoints are already implemented in Go, though you may need to make small changes or fixes.
How to Run
go run .
cd frontend; npm run dev
http://localhost:8080/login
to log into the dashboardhttp://localhost:5173/dashboard
to run the sveltekit appRequirements
svelte-2
branch, not mainPart 1: Delete
DELETE
fetch request to/api/destinations/{id}
.Part 2: Add
The user should be able to add new connections.
Show Form
http://localhost:5173/dashboard/connections/new/duckdb/
/api/destinations/params/[type]
wheretype
is a SvelteKit url parameterHere is an example:
Save Data
POST /destinations
/dashboard/connections
Testing
This should work with the following four URLs:
Show a video of your solution working when making your pull request
The text was updated successfully, but these errors were encountered: