raid-guild / RIPs

Registry of internal raidguild improvment projects
24 stars 17 forks source link

Create-Raid-App: A fast setup for Raid Dapps. #26

Closed jordanlesich closed 2 years ago

jordanlesich commented 3 years ago

Project Idea

Create-Raid-App: An opinionated starter framework for dapps

Project Submitted By

Jord

Summary

Create-Raid-App is a starter mono-repo designed to get devs up and running as fast as possible. It is opinionated and follows the conventions used in most Raid Guild Dapps. Here's what it does:

Ideas for the future:

Bonus Points:

Why should we build this?

  1. For fast implementation. This would be great for devs looking to build lighter production apps as well as weekend hackathon rips.
  2. Consistency. If we're using similar repos, it becomes easier to read and debug each other's code.
  3. Continuous Improvement. By having the entire guild scrutinize and improve a single repo, we can slowly improve the starter, finding creative ways to make the repo more useful over time.
  4. Fast learning and onboarding. While there are many great libraries out there for getting started with dapps, few teach how to put all these tools together. The docs will get into the why of the code, so that new devs will be able to grok key concepts.

Anything else you'd like to add?

I'd love to people's thoughts and ideas.

Raid Party Skills Needed

Cost (in USD):

1,750 DAI

pi0neerpat commented 3 years ago

This would be really cool, and something I'd be interested in contributing to. I have my own stack that I'm slowly improving.

source example: https://github.com/pi0neerpat/nifty-chess-app/ demo: https://niftychess.com/

This provides

I wasn't too impressed with the other web3 scaffolding tools. Most of it I felt just gets in the way. With this approach, you start with a very vanilla React app, but its easy to iterate all the way to a fullstack production app.

Downside is that redwoodjs is still under development, but the upside is that we have the opportunity to shape its development, and be early adopters of something I think is going to soon compete with the other major JS FE frameworks.

In general I think this proposal needs a lot more data and feedback. Whats the best place to see what guild devs are building with today?

Also I think a good approach might be to create a few templates, and then see which templates are used the most, get feedback, before spending time to package it up into create-raid-app.

jordanlesich commented 3 years ago

Definitely on board with making this an ongoing, research effort before packaging it up. I made this proposal way back, and I didn't quite understand the landscape. Agreed on keeping it less tooled/more vanilla to start out. I'm also into the idea of prototyping and testing it out before packaging something up.

But I've also been thinking of having a sort of 'recipe book' instead of a bundle. Basically an archive of articles that contain code and patterns for solving common web3 problems. They should also contain some high-level reasoning behind these design choices to spur an ongoing debate. For me, that's where we can really add some value. It's one thing to have a collection of common packages, it's another to have conventions/code that we understand, can customize, and iterate on as a community.

We should have a meeting about this some time.

pi0neerpat commented 3 years ago

Yeah! A cookbook + best practices sounds super duper useful.

Probably the best thing to do is to start throwing notes into a Docs site. Do we have a docs site yet, or does anyone have suggestions for a docs site?

jordanlesich commented 3 years ago

No docs yet. I'm okay with whatever format. HackMD might be good for a quick start.

plor commented 2 years ago

I hope I'm not out of line by closing this out. If there are updates on this or further work that should be pursued, we should absolutely revive this. But this doesn't seem under consideration so I'm going to clear it out.