Skip to content
/ Devark Public

Devark the backend scaffolding CLI Like shadcn/ui, but for backend development. Scaffold modern backend features instantly with modular, production-ready templates in JavaScript or TypeScript.

License

Notifications You must be signed in to change notification settings

huzfm/Devark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

266 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Devark The Backend Scaffolding CLI

Like shadcn/ui, but for backend development.
Scaffold modern backend features instantly with modular, production-ready templates in JavaScript or TypeScript.

npm version license downloads GitHub stars


Features

Feature Modules

  • Google OAuth (JS + TS)
  • GitHub OAuth (JS + TS)
  • Resend Email OTP (JS + TS)

Project Templates

  • Node + MongoDB template
  • Node + PostgreSQL template

Coming Soon

  • React Starter Templates
  • AWS S3 Uploads
  • Payment Integrations (Stripe)

Installation

pnpm install devark

Devark itself uses pnpm for dependency management.


🔗 Global Linking (for Local Development)

pnpm link --global

Now you can use the CLI anywhere:

devark add google-oauth

Usage Examples (for dev)

Add Google OAuth

devark add google-oauth

Add GitHub OAuth

devark add github-oauth

Add Resend Email OTP

devark add resend-otp

Create a Node.js + MongoDB Backend

devark add node-mongo

Create a Node.js + PostgreSQL Backend

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:

git clone https://github.com/username/Devark.git
cd Devark
pnpm install

Tech Stack

  • Language: JavaScript
  • Package Manager: pnpm
  • CLI Framework: Commander.js
  • Templating: EJS
  • Prompts: @clack/prompts

Contributing

Contributions are welcome!
If you'd like to add new modules or fix bugs:

About

Devark the backend scaffolding CLI Like shadcn/ui, but for backend development. Scaffold modern backend features instantly with modular, production-ready templates in JavaScript or TypeScript.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •