Welcome to DevTime, a project management and time tracking tool for developers!
- Create and manage projects.
- Organize tasks and subtasks using a Kanban board.
- Track working hours for tasks and subtasks.
- User authentication and authorization with Clerk.
- Node.js (>=14.0.0)
- npm or yarn
- Prisma CLI (for database migrations)
- Clone the repository:
git clone https://github.com/hex-grammer/devtime.git
cd devtime
- Install dependencies:
npm install
# or
yarn install
- Set up your MySQL database and update the
.env
file:
DATABASE_URL=mysql://user:password@host:port/database
Replace user
, password
, host
, port
, and database
with your MySQL database credentials.
- Set up Clerk authentication by adding the following environment variables to
.env.local
:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_publishable_key_here
CLERK_SECRET_KEY=your_secret_key_here
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
- Start the development server:
npm run dev
# or
yarn dev
- Open your browser and navigate to
http://localhost:3000
to access the application.
DATABASE_URL
: URL of your MySQL database.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
: Publishable key from Clerk.CLERK_SECRET_KEY
: Secret key from Clerk.NEXT_PUBLIC_CLERK_SIGN_IN_URL
: URL for signing in with Clerk.NEXT_PUBLIC_CLERK_SIGN_UP_URL
: URL for signing up with Clerk.NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL
: URL to redirect after signing in.NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL
: URL to redirect after signing up.
Check out the live demo of DevTime at devtime.rizaltsx.com.
Contributions are welcome! Feel free to open issues and pull requests.
This project is licensed under the MIT License.