8000 GitHub - Augani/clockit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Augani/clockit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clockit - Time Tracking Application

Clockit is a modern web application built with Next.js that helps teams and organizations track work hours, manage projects, and maintain accountability in remote work environments.

Features

  • 🕒 Time Tracking: Easy clock in/out functionality with break management
  • 📊 Detailed Reports: Generate comprehensive time and projec 9F1A t reports
  • 👥 Team Management: Monitor team members' activities and working hours
  • 📱 Responsive Design: Works seamlessly across desktop and mobile devices
  • 🌐 Multilingual Support: Available in multiple languages
  • 🔒 Secure Authentication: Built-in authentication system

Tech Stack

  • Framework: Next.js 14 with App Router
  • Styling: Tailwind CSS + Material-UI
  • Authentication: NextAuth.js
  • Database: PostgreSQL with Prisma ORM
  • Charts: Recharts
  • Internationalization: next-intl
  • Type Safety: TypeScript

Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/clockit.git
cd clockit
  1. Install dependencies:
npm install
  1. Set up your environment variables:
cp .env.example .env.local
  1. Set up the database:
npx prisma generate
npx prisma db push
  1. Run the development server:
npm run dev

Open http://localhost:3000 with your browser to see the result.

Project Structure

  • /src/app - Application pages and routing
  • /src/components - Reusable UI components
  • /src/i18n - Internationalization configuration
  • /prisma - Database schema and migrations
  • /public - Static assets
  • /theme - Theme configuration

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Creator

Augustus Otu - Founder & Lead Developer

Support

For support, please open an issue in the GitHub repository or contact the development team.

Docker Setup

Option 1: Pull from Docker Hub

# Pull the image
docker pull augustusotu/clockit:latest

# Create a .env file with your environment variables
cp .env.example .env

# Run the container
docker-compose up -d

Option 2: Build Locally

# Clone the repository
git clone https://github.com/yourusername/clockit.git
cd clockit

# Build the image
docker build -t clockit .

# Run with docker-compose
docker-compose up -d

Environment Variables

Make sure to set up these environment variables in your .env file:

# Database
POSTGRES_USER=clockit_user
POSTGRES_PASSWORD=your_secure_password
POSTGRES_DB=clockit_db
DATABASE_URL=postgresql://clockit_user:your_secure_password@db:5432/clockit_db

# Next Auth
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret

# OAuth (if using)
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret

Docker Commands

# Start the application
docker-compose up -d

# View logs
docker-compose logs -f

# Stop the application
docker-compose down

# Rebuild the application
docker-compose up -d --build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0