TaskWise is a modern, AI-driven task management application built with Next.js, TypeScript, and PostgreSQL. It's designed to help you manage your tasks more intelligently by leveraging the power of AI for task creation, reporting, and querying.
[A screenshot of the application will be added here.]
- Interactive Calendar: Visualize your tasks on a monthly calendar view. Click on a task to see its details.
- AI-Powered Task Creation: Simply type a rough idea for a task (e.g., "finish the report by friday"), and the AI will suggest a title, description, priority, and due date.
- Natural Language Chat: Ask questions about your tasks in plain English. The AI-powered chat can instantly provide you with information like "What are my urgent tasks for this week?" or "How many tasks did I complete last month?".
- In-Depth Productivity Analysis: Get a comprehensive report on your productivity, generated by an AI that analyzes your task history. The report includes key metrics, charts, and actionable insights to help you improve your workflow.
- Full CRUD Functionality: Create, read, update, and delete tasks with all the essential details.
- Task Prioritization: Assign priorities (Low, Medium, High, Urgent) to your tasks.
- Light/Dark Mode: Switch between themes for a comfortable user experience.
- Responsive Design: Works beautifully on desktop and mobile devices.
- Node.js (v18 or later)
- npm
- PostgreSQL
- GitHub CLI (optional, for easier repository creation)
-
Clone the repository:
git clone https://github.com/ovinokurov/taskwise.git cd taskwise -
Install dependencies:
npm install
-
Set up the database:
- Make sure your PostgreSQL server is running.
- Create a new database (e.g.,
taskwise). - Create a
.envfile in the root of the project by copying the.env.examplefile. - Update the
DATABASE_URLin your.envfile with your PostgreSQL connection string:(ReplaceDATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=public"
USER,PASSWORD,HOST,PORT, andDATABASEwith your credentials). - Add your OpenAI API key to the
.envfile. The AI-powered features will not work without it.OPENAI_API_KEY="sk-..."
-
Run the database migration: This will create the necessary tables in your database.
npx prisma migrate dev
-
Run the development server:
npm run dev
The application should now be running at http://localhost:3000.
- Framework: Next.js
- Language: TypeScript
- Database: PostgreSQL
- ORM: Prisma
- Styling: Tailwind CSS
- AI: OpenAI API
- UI Components:
Contributions are welcome! Please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.