Skip to content

nikalomiris/timer-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timer App

This is a real-time timer application with a Next.js frontend and a Node.js/Express backend. It allows multiple users to create, start, pause, and stop timers, with updates reflected in real-time across all connected clients.

Features

  • Create new timers and countdowns with a color-coded progress bar and visual cues for completion status.
  • Start, pause, and stop timers
  • Real-time updates across all connected clients
  • Modern Material-UI design
  • User Management: Timers are associated with specific users, and users can set a friendly name.
  • Admin View: An admin user can view all active users and create timers for any specific user.

Project Structure

This project is a monorepo containing two main parts:

  • client/: The Next.js frontend application.
  • server/: The Node.js and Express backend server.

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/nikalomoiris/timer-app.git
    cd timer-app
  2. Install dependencies for both client and server:

    # For the server
    cd server
    npm install
    
    # For the client
    cd ../client
    npm install

Running the Application

You will need to run the client and server in separate terminal windows.

  1. Start the server:

    Open a new terminal, navigate to the server directory, and run:

    cd server
    node index.js

    The server will start on http://localhost:3001.

  2. Start the client:

    Open another terminal, navigate to the client directory, and run:

    cd client
    npm run dev

    The client application will open in your browser at http://localhost:3000.

Views

  • Admin View: http://localhost:3000/
  • User View: http://localhost:3000/user

Technologies Used

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors