Skip to content

A modern Pomodoro timer application that helps users boost productivity through timed work sessions and breaks.

Notifications You must be signed in to change notification settings

mouaammou/pomodoro-plus

Repository files navigation

Pomodoro App

A full-stack Pomodoro timer application built with Next.js. This project helps users manage their time using the Pomodoro technique, allowing them to focus and take breaks effectively.

The backend of the application uses server actions and the Prisma ORM for database operations.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/mouaammou/pomodoro-plus.git
    cd pomodoro-plus
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root of your project. Add the following environment variables:

    echo DATABASE_URL=file:database.db > .env
  4. Migrate Prisma: This will create the necessary tables and columns in the database based on the Prisma schema defined in the prisma directory.

    npx prisma migrate dev --name init
  5. Run the app:

    npm run dev
  6. Open the app in your browser: Go to http://localhost:3000.

Project Structure

The project structure is as follows:

  • lib: Contains prisma client.
  • prisma: Contains the Prisma configuration and database schema files.
  • src: Contains the source code of the application.
    • components: Contains reusable React components used in the application.
    • app: Contains the main application logic and components.
    • actions: Contains action files and types.

About

A modern Pomodoro timer application that helps users boost productivity through timed work sessions and breaks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published