@magiclabs/create-magic-app

A tool for quickly scaffolding an app with Magic authentication baked-in!

Showing:

Popularity

Downloads/wk

4

GitHub Stars

8

Maintenance

Last Commit

1mo ago

Contributors

13

Package

Dependencies

8

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Deprecated!
This package is deprecated. Please use 'npx make-magic' instead.

Readme

🪄 make-magic

A tool for quickly scaffolding an app with Magic authentication baked-in!

License · Contributing Guide

🚀 Usage

Getting started with the interactive scaffolding tool is easy. Just run the following command in your preferred shell:

npx make-magic

Follow the interactive prompts to customize your project. Done! ✨

Programmatic API

make-magic also supports a programmatic API, so you can generate boilerplate codes with Magic built-in from your own NodeJS scripts.

import makeMagic from 'make-magic';

await makeMagic({
  template: 'hello-world', // Same as --template, -t
  projectName: 'my-app',   // Same as --project-name, -p
  branch: 'master',        // Same as --branch, -b

  // The same, arbitrary data you can pass to a template via CLI flags.
  data: {
    publishableApiKey: 'pk_live_...',
    npmClient: 'yarn',
  }
})

See npx make-magic --help for information about the available options. In general, most CLI flags map to camel-cased properties in the configuration given to makeMagic({ ... }).

For more information, you can print help text including template-specific options using npx make-magic --help --template [i.e.: hello-world]

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100