create-atomikjs
v1.0.9
Published
The official CLI tool for creating new [AtomikJS](https://github.com/Valogzi/atomik) projects.
Readme
create-atomikjs
The official CLI tool for creating new AtomikJS projects.
Quick Start
npx create-atomikjs my-app
cd my-app
npm run dev
# or
npm create atomikjs@latest my-appAbout AtomikJS
AtomikJS is an ultra-fast web framework designed for maximum performance and developer experience. Create new AtomikJS projects instantly with this CLI tool.
Usage
Create a new project
npx create-atomikjs <project-name> [options]Options
--typescript- Use TypeScript (default)--javascript- Use JavaScript instead of TypeScript
Examples
# Create a TypeScript project (default)
npx create-atomikjs my-app
# Create a JavaScript project
npx create-atomikjs my-app --javascript
# Create a TypeScript project explicitly
npx create-atomikjs my-app --typescriptWhat's Included
When you create a new project, you'll get:
- 🚀 Basic AtomikJS server setup
- 📝 Sample routes (text, JSON, and HTML responses)
- 🛠️ Pre-configured build scripts
- 📦 Automatic dependency installation
- 🎯 TypeScript or JavaScript support
Project Structure
my-app/
├── src/
│ └── index.ts # Main application file
├── package.json # Project configuration
└── tsconfig.json # TypeScript configuration (TS projects only)Getting Started with Your New Project
After creating your project:
Navigate to your project directory:
cd my-appStart the development server:
npm run dev # or yarn dev # or pnpm devOpen your browser: Visit http://localhost:5489 to see your app running!
Available Routes
Your new AtomikJS project comes with these sample routes:
GET /- Returns a simple text responseGET /json- Returns a JSON responseGET /html- Returns an HTML response
Package Manager Support
create-atomikjs automatically detects and uses your preferred package manager:
- 📦 npm (default)
- 🧶 yarn
- ⚡ pnpm
Requirements
- Node.js 16.0 or later
- npm, yarn, or pnpm
Author
License
MIT © Valogzi
Learn More
Made with ❤️ for the AtomikJS community
