This is a demo project showcasing how imdone-cli integrates Jira project management with local development workflows.
A simple Node.js/Express e-commerce API with user authentication, product catalog, and order management.
- User registration and authentication
- Product catalog management
- Shopping cart functionality
- Order processing
- Admin dashboard
- Backend: Node.js, Express
- Database: MongoDB with Mongoose
- Authentication: JWT tokens
- Validation: Joi
- Testing: Jest, Supertest
- Node.js (v16 or higher)
- MongoDB (local or Atlas)
- imdone-cli (for project management)
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your database URL and JWT secret
# Start development server
npm run dev
This project uses imdone-cli to sync Jira issues with local markdown files:
# Pull latest issues from Jira
imdone pull
# View current sprint issues
ls backlog/current-sprint/
# Push updates back to Jira
imdone push
POST /api/auth/register
- User registrationPOST /api/auth/login
- User loginGET /api/auth/profile
- Get user profile
GET /api/products
- List all productsGET /api/products/:id
- Get product detailsPOST /api/products
- Create product (admin)PUT /api/products/:id
- Update product (admin)DELETE /api/products/:id
- Delete product (admin)
GET /api/cart
- Get user's cartPOST /api/cart/add
- Add item to cartPUT /api/cart/update
- Update cart item quantityDELETE /api/cart/remove/:productId
- Remove item from cart
POST /api/orders
- Create new orderGET /api/orders
- Get user's ordersGET /api/orders/:id
- Get order details
- Check Jira for assigned tasks:
imdone pull
- Work on feature locally: Edit code, write tests
- Update issue status: Edit the markdown file in
backlog/
- Sync back to Jira:
imdone push
- Story: "Add product rating system"
- Shows: Pull issue → Implement feature → Update status → Push to Jira
- Bug: "Cart total calculation incorrect"
- Shows: Investigate → Fix → Test → Document solution → Update Jira
- Shows: Comment threads sync between Jira and local markdown files
MIT