Quick Start
Get started with Xacos CLI in just a few minutes. This guide will walk you through creating your first Express.js backend project.
Create a New Project
Create a new project with TypeScript and Prisma support:
npx xacos init my-api --ts --prismaAvailable Options
The init command supports several options to customize your project:
--ts- Initialize with TypeScript--prisma- Add Prisma ORM--mongodb- Add MongoDB setup--redis- Add Redis caching
Navigate to Your Project
cd my-apiInstall Dependencies
npm installStart Development Server
npm run devYour API server is now running at http://localhost:3000
What's Next?
Now that your project is up and running, you can:
- Explore the project structure to understand the codebase
- Add new routes and controllers
- Configure your database connection
- Add middleware and services
- Set up Redis caching
- Add WebSocket support