FocusMe is a task management application built with Next.js and MongoDB. It provides users with the ability to create, update, delete, and manage tasks. The application also includes metrics to track task completion, overdue tasks, and tasks closest to their due dates.
- Features
- Tech Stack
- Installation
- Environment Variables
- Usage
- API Endpoints
- Components
- Contributing
- License
- Create, update, delete tasks
- View all tasks
- Task metrics: total tasks, completed tasks, overdue tasks, closest due tasks
- Task status management
- User authentication with Clerk
- Frontend: React, Next.js
- Backend: Node.js, Express
- Database: MongoDB
- Authentication: Clerk
- Styling: Tailwind CSS
- Node.js (v14 or later)
- npm or yarn
- MongoDB instance (local or hosted)
-
Clone the repository:
git clone https://github.com/Phastboy/focusme.git cd focusme
-
Install dependencies:
npm install # or yarn install
-
Set up environment variables (see Environment Variables).
-
Start the development server:
npm run dev # or yarn dev
Create a .env.local
file in the root directory and add the following variables:
DB_URL=your_mongodb_connection_string
NEXT_PUBLIC_BASE_URL=http://localhost:3000