MorphZG / work_schedule_app

Assist small buisiness owners to create and manage work schedule.
0 stars 1 forks source link

Work Schedule Application

A full-stack web application for managing employee work schedules, built with modern web technologies.

Tech Stack

Frontend

Backend

Features

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/MorphZG/work_schedule_app.git
    cd work_schedule_app
  2. Install backend dependencies:

    cd backend
    npm install
  3. Install frontend dependencies:

    cd ../frontend/vite-project
    npm install
  4. Set up environment variables: Create a .env file in the backend directory with the following variables:

    MONGODB_URI=your_mongodb_connection_string
    PORT=3000

Running the Application

  1. Start the backend server:

    cd backend
    npm run dev
  2. Start the frontend development server:

    cd frontend/vite-project
    npm run dev

The application will be available at:

API Endpoints

Schedules

Employee Preferences

Statistics

Development

Code Quality

The project uses:

Run quality checks:

npm run lint    # Check code style
npm run format  # Format code
npm run test    # Run tests

Project Structure

For detailed information about the project structure, see dir_structure.md

API Documentation

Contributing

See CONTRIBUTE.md for details on our code of conduct and the process for submitting pull requests.