Important
This project is currently broken and fixing is still in progress.
Stay focused, stay organized.
Milestone is a sleek, modern time-tracking app built to help developers and professionals track, reflect on, and improve how they spend their work hours β project by project.
- β±οΈ Start/stop time tracking
- ποΈ Project-based log organization
- ποΈ Session notes & file attachments
- π Visual heatmap analytics
- π Dark mode support
- π± Fully responsive design
- οΏ½ User authentication
- βοΈ Cloud storage for files
- ποΈ PostgreSQL database
- Node.js (LTS version recommended)
- npm or yarn
- PostgreSQL database
- AWS S3 bucket (for file storage)
-
Clone the repo:
git clone https://github.com/yourusername/CodeLog.git cd CodeLog -
Install dependencies:
npm install
-
Set up environment variables:
Copy
.env.exampleto.envand fill in your values:DATABASE_URL="your-postgresql-connection-string" NEXTAUTH_SECRET="your-nextauth-secret" NEXTAUTH_URL="http://localhost:3000" AWS_ACCESS_KEY_ID="your-aws-access-key" AWS_SECRET_ACCESS_KEY="your-aws-secret-key" AWS_REGION="us-east-1" S3_BUCKET_NAME="your-bucket-name"
-
Set up the database:
npm run db:migrate npm run db:seed
-
Run the dev server:
npm run dev
- Connect your GitHub repo to Vercel
- Set environment variables in Vercel dashboard
- Use Vercel Postgres for the database
- Deploy!
The app can be deployed to any platform supporting Next.js, such as Netlify, Railway, or Heroku.
src/
βββ app/
β βββ api/ # API routes
β βββ auth/ # Authentication pages
β βββ dashboard/ # Dashboard page
β βββ projects/ # Projects pages
β βββ timer/ # Timer page
βββ components/ # Reusable components
βββ lib/ # Utilities and configurations
βββ prisma/ # Database schema and migrations
Run the test suite:
npm run test- Fork the repo
- Create a feature branch
- Make your changes
- Run tests
- Submit a PR
MIT License - see LICENSE for details.
Open your browser at http://localhost:3000
- Next.js β App framework
- Tailwind CSS β Styling
- Zustand β State management
- date-fns β Date handling
- Lucide React β Icon set
/
βββ src/
β βββ app/ # App router pages
β βββ components/ # UI components
β βββ lib/ # Stores and utilities
βββ public/ # Static assets
βββ ...config files
Contributions are welcome! Feel free to open issues or submit pull requests to improve CodeLog.
Licensed under the GNU Affero General Public License. See the LICENSE file for details.