Skip to content

695roshan/Calendar-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calendar App - Setup & Usage

1. Install Dependencies

Backend (Java Spring Boot)

  1. Make sure you have Java 21+ and Maven installed.
  2. Navigate to the calendar-app directory:
    cd calendar-app
  3. Install dependencies and build the backend:
    mvn clean install -DskipTests

Frontend (React)

Navigate to the frontend directory:

cd calendar-app\src\main\resources\static\react-frontend
npm ci

2. Run the Application

Backend

From the calendar-app directory, start the backend server:

mvn spring-boot:run

The backend will start on the default port (http://localhost:8080).

Frontend

From the calendar-app/src/main/resources/static/react-frontend directory, start the frontend server:

npm start

The frontend will start on the default port (http://localhost:3000).

The Calendar Application should run at http://localhost:3000

3. Test the Application

Backend Tests (Unit and Integration with checkstyle check and coverage)

From the calendar-app directory, run:

mvn test -Dtest=**.event.*Test,**.eventuser.*Test,**.user.*Test jacoco:report

The JaCoCo coverage report is saved at: calendar-app/target/site/jacoco/index.html

Frontend Tests (with coverage)

From the calendar-app/src/main/resources/static/react-frontend directory, run:

npm test -- --coverage --watchAll=false --passWithNoTests --silent

The Jest coverage report is saved in: calendar-app/src/main/resources/static/react-frontend/coverage/lcov-report/index.html

System Tests

Note: Make sure to start both the frontend and backend before implementing system tests

From the calendar-app directory, run:

mvn test -Dtest=**.system_tests.*Test

About

A web-based Calendar Application, to set events, reminders for multiple users

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors