GIHAA / task-management-application

Home Page:https://task-management-application-pearl.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task Management Application

Group 47

Live deployment

Tech Stack

  • Frontend: NEXT.js
  • Backend: Spring Boot

Local Setup Instructions

To set up the application locally, follow these steps:

  1. Clone the repository.

  2. Open IntelliJ IDEA, navigate to the backend folder, and run the Spring Boot application.

  3. I've set the default port to be 80 (http://localhost/), and other configurations like the database URL are intentionally exposed for easy local setup.

  4. Additionally, for an alternative deployment approach, you can leverage the flexibility of Docker to run the application. To do so, effortlessly build and execute the Docker image found in the backend folder. Alternatively, you may opt for an existing image available on Docker Hub by executing the following commands:

    docker pull gihaa/taskmanager:latest
    docker run -d -p 80:80 gihaa/taskmanager:latest
  5. Verify the application's health by checking http://localhost/api/v1/health.

  6. For the frontend, Change directory to the frontend and run npm install to install node modules.

  7. Optionally, modify the API URL to use either the online backend or a local backend by commenting/uncommenting lines in src/api/api.ts:

    //export const BE_URL = "http://localhost/api/v1";
    export const BE_URL = "https://task-manager-app.azurewebsites.net/api/v1";
  8. Regarding the initial login request from the backend, it might take around 1 - 2 minute to complete. This delay is due to my current use of free hosting options, which tend to shut down due to inactivity. It is important to note that this issue is not related to the code quality of the backend. After reactivating from inactivity, the backend should work quickly and without issues. Additionally, the local setup doesn't experience this problem image

  9. Execute npm run dev to start the application.

  10. Open http://localhost:3000/ to access the application.

  11. Now, you're ready to use the Task Management Application locally.

  12. Example logins.. feel free to add new users as well

    Role Email Password
    Owner owner@gmail.com Gihan_123
    Admin admin@gmail.com Admin_123
    Regular User pawan@gmail.com Pawan_123

Features

Group 46

Group 45

Group 44

Diagrams

Group 48

About

https://task-management-application-pearl.vercel.app


Languages

Language:TypeScript 67.6%Language:Java 31.8%Language:CSS 0.3%Language:Dockerfile 0.2%Language:JavaScript 0.1%