onflow / flip-fest

A backlog of all the available tasks to complete for Flow's FLIP Fest.
50 stars 39 forks source link

CLI Feature: Project scaffolding #31

Open srinjoyc opened 2 years ago

srinjoyc commented 2 years ago

πŸ‘‹   If you are interested in working on this issue, please check out the Getting Started guide on HackerEarth!

Description (Problem Statement)

Currently, there are no local tools that support scaffolding a Flow project.

For newcomers to Flow, having a suggested folder structure, as well as boilerplate configuration will save them time while experimenting or kicking off their next project.

This issue proposes a lightweight scaffolding system to be built into the Flow CLI, enabling users to quickly generate a Flow project structure based on current best practices - example scaffold.

Experience Required

Minimum Feature Set (Acceptance Criteria)

The command should:

Milestone Requirements

  1. Build and implement the basic infrastructure:
    • Set up GitHub repository for example projects (mix and match stacks)
    • Provide issue templates for users to submit their own example project
    • Generate a default React project based on Kitty Items folder layout and commit to example repo
    • Propose CLI command name, flags, and other UX details for the next milestone.
    • Clone the example project from the CLI using a new built-in command and interactive command line UI similar to Create Nuxt App

Software Requirements

Maintainability

Testing

Other Requirements

Documentation

Code standards or guidelines

Judging Criteria

Resources

10thfloor commented 2 years ago

Hello there. Mackenzie here. πŸ„πŸΌβ€β™‚οΈ I'm part of the Developer Experience team at Flow. Glad you're checking out this issue. I can help answer any questions you might have about what you see here, and if you decide to take this on, I'll be your primary point of contact for you or your team.

Please add your comments/questions here, or find me on the Flow Discord (mack)

Happy hacking! πŸš€

eburnette commented 2 years ago

The example scaffold link in the OP is broken.

psiemens commented 2 years ago

@eburnette Thanks, it should work now

flyinglimao commented 2 years ago

Hi @10thfloor , I'm interested in it. HackerEarth Team: flyinglimao I'm working solo but may have another member later, can I update this comment then? I'm planing to finish this before 10/23

psiemens commented 2 years ago

Sure thing @flyinglimao, that works!

10thfloor commented 2 years ago

@flyinglimao How is the project going so far?

flyinglimao commented 2 years ago

Working on it but I think it's a bit hard for me to finish it this week

flyinglimao commented 2 years ago

Hi @10thfloor, I finished the feature (repo) but have some problems with writing tests. I found the most tests were written for flow networks (accounts, blocks...). Is it proper that move codes into a service? If not, how can I write the test for the feature? May I have some hints or advice? Thanks!

(edit: I saw some PR add test in internal/<folder>/<file>_test.go, I will work on this way first.) (edit 2: still not come up with an idea on writing test, gonna submit first)

kimcodeashian commented 2 years ago

Good day @flyinglimao!

Thanks so much for all your hardwork & participation. In order to finalize winners & prepare for prize payout, we'll need the following actions from your end.

Please provide the following information byΒ Nov 17, 2021, (in this GH Issue is fine):

1. Team Information

πŸŽ–IMPORTANT: We will only proceed with prize payouts once all members have confirmed with πŸ‘ on the post.

2. Video Demo (optional)

We will be hosting Closing Ceremonies on November 23rd, 8AM PT where we'll having closing remarks from Dete & will be announcing the winners! I'll share the details here before Nov 17.

flyinglimao commented 2 years ago

Team Members Information:

kimcodeashian commented 2 years ago

Hey folks,

We've received and reviewed over 82 submissions! What an amazing community on Flow! To commemorate all the hard work done, we have finalized winners and will be announcing them during our Closing Ceremony on Nov 23rd, 8AM PT. Be sure to join us - there may be some attendance prizes & a keynote from our CTO, Dete πŸ˜‰!

RSVP here so you don't miss out! See you then!