$ npm init ic
- It install dfx if needed
- It checks dfx version and ask if you want to upgrade if a new version is available
- Ask for name of the project
- Ask for Motoko or Rust
- Init a new project
@peterparker Spider-Man you rock!
Just published an update of my cli that can now init backend only projects (
--no-frontend) and can also set up the authentication - i.e. can add Internet Identity to the project your create automatically
$: npm init ic
Does it support custom frontend frameworks like React, Vue, etc?
I was thinking about it, particularly because I mostly use SvelteKit for dapps, but, I feel like I don’t have currently the resources to maintain multiple sample repo up-to-date or write the jobs that would keep them up-to-date (because if I do, I would like to provide only sample code that remains up-to-date).
It might come someday but, if someone would be interested to contribute in that sense, reach out!
I was introduced to a package like yours in the Motoko BootCamp,
that works for other frontend frameworks: GitHub - MioQuispe/create-ic-app: Use your favourite frontend framework with the Internet Computer
Btw Great job on this project @peterparker