Task Manager Application

A full-stack task management application built with Astro, Svelte, Prisma, and TailwindCSS.

Prerequisites

  • Node.js (LTS version recommended)
  • npm
  • SQLite

Tech Stack

Installation

  1. Clone the repository:
git clone <repository-url>
cd irregular-iron
  1. Install dependencies:
npm install
  1. Set up environment variables:

Create a .env file in the root directory with:

OPENAI_API_KEY="your-openai-api-key"
  1. Initialize the database:
npx prisma migrate dev

Development

To start the development server:

npm run dev

The application will be available at http://localhost:4321

Testing

Run tests:

npm run test

Run tests in CI mode:

npm run test:run

Build

To build for production:

npm run build

Preview the production build:

npm run preview

Project Structure

/
├── prisma/             # Database schema and migrations
├── src/
│   ├── actions/        # Server actions and API
│   ├── components/     # UI components
│   ├── interfaces/     # TypeScript interfaces
│   ├── layouts/        # Page layouts
│   ├── pages/          # Application routes
│   └── styles/         # Global styles
└── tests/             # Test files

Features

  • Create, read, update, and delete tasks
  • Mark tasks as complete
  • Filter tasks by priority and completion status
  • AI-powered task description generation
  • Priority levels (low, medium, high)
  • Due date tracking

Contributing

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/my-feature
  3. Commit your changes: git commit -am 'Add my feature'
  4. Push to the branch: git push origin feature/my-feature
  5. Submit a pull request

License

This project is licensed under the MIT License.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes