Skip to content

Mykal-Steele/adorex-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adorex npm package

Bootstrap an API-ready backend starter with Express, TypeScript, Prisma, and SQLite through libsql!

Start an Adorex Project

Node Support: Run the CLI on Node.js 22 or newer. Generated apps are validated on Node.js ^22.12 || ^24.0.

With NPM:

npx adorex-cli

With Yarn:

yarn dlx adorex-cli

With PNPM:

pnpm dlx adorex-cli

Or install once and run globally:

npm i -g adorex-cli
adorex

The CLI will guide you through setup.

Prefer non-interactive usage? Pass a name directly:

npx adorex-cli my-app
yarn dlx adorex-cli my-app
pnpm dlx adorex-cli my-app
adorex my-app

Project Layout

my-app/
  src/
    index.ts
    utils/
      logger.ts
      prisma.ts
  prisma/
    schema.prisma
  prisma.config.ts
  tsconfig.json
  .env

After generation:

cd my-app
npx prisma migrate dev --name init
npm run dev

Stack

  • Node.js: ^22.12 || ^24.0
  • Express: ^5.2.1
  • TypeScript: ^5.9.2
  • Prisma ORM: prisma ^7.5.0 and @prisma/client ^7.5.0
  • SQLite via libsql: @libsql/client ^0.17.0 and @prisma/adapter-libsql ^7.5.0
  • Dev tooling: tsx ^4.20.5 and dotenv ^16.4.7

Generated App Scripts

  • npm run dev - run the server with watch mode
  • npm run typecheck - run static type checks
  • npm run build - compile output into dist/
  • npm run start - run the production build

If you enjoyed the package, consider buying me a virtual coffee ☕ @ buymeacoffee.com

Buy Me A Coffee

About

a CLI app to scaffold an express + typescript backend with prisma 7.5.0 and sqlite (libsql) setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors