CLI tool to scaffold backend features like authentications, authorizations, and more.
npm install devark
bash
pnpm install devark
`
> Devark itself uses pnpm for dependency management.
---
š Global Linking (for Local Development)
`bash
pnpm link --global
`
Now you can use the CLI anywhere:
`bash
devark add google-oauth
`
---
Usage Examples (for dev)
$3
`bash
devark add google-oauth
`
$3
`bash
devark add github-oauth
`
$3
`bash
devark add resend-otp
`
$3
`bash
devark add node-mongo
`
$3
`bash
devark add node-postgres
`
---
Project Structure
`
devark/
āāā documentation/
āāā src/
ā āāā bin/ # CLI entry point (executables)
ā ā āāā devark.js
ā āāā modules/ # Feature modules (pluggable)
ā ā āāā google-oauth/
ā ā ā āāā templates/
ā ā ā ā āāā javascript/
ā ā ā ā āāā typescript/
ā ā ā āāā install.js
ā ā ā āāā utils/
ā ā āāā github-oauth/
ā ā āāā resend-otp/
ā ā āāā node-mongodb-template/
ā ā āāā node-postgres-template/
ā ā
ā āāā utils/ # Shared helpers
ā ā āāā filePaths.js
ā ā āāā injectEnvVars.js
ā ā āāā moduleUtils.js
ā ā āāā logo.js
ā ā āāā PackageManager.js
ā ā āāā oauthSelector.js
āāā package.json
āāā README.md
āāā LICENSE
āāā .gitignore
`
Development
Clone and install dependencies:
Fork this Repo:
`bash
git clone https://github.com/username/Devark.git
cd Devark
pnpm install
``