Skip to content

pingkunga/simple-redmine-client

Repository files navigation

Simple Redmine Client

Overview Architecture

Architecture Diagram

Feature

  • List Versions (On Specific Project Id)
  • List Issue from versions
  • New Dev Tracker (Program Spec / Defect / Feature)
  • Set your own access Token
  • New Build Tracker (Build Request)
  • Add Unit Test (Initial)
  • Add API admin/release/thisweek-release to get current week release data (Version with due date in current week) and send to Line Notify
  • Add API admin/release/send-release-mail to send current week release data to specific email address
  • Add Admin Page to manage Release Notii Email Template (Subject / Body) with some variable such as {{versionName}} / {{versionDueDate}} / {{versionIssues}} (List of Issues in Version with name and tracker type)
  • Add Simple Auth with password (No Register / No User Management) to protect Admin Page

Plan List

  • Add Coverage Report
  • Add Component Test
  • Add API Test
  • Refactor Code eq. remove hardcode to config such as List Versions (On Specific Project Id) / Tracker Template with some hardcode id of custom field
  • Add MCP
  • Add Chat

Nuxt Minimal Starter

Look at the Nuxt documentation to learn more.

Setup

Make sure to install dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.

Use Lib

bun add vuetify vite-plugin-vuetify sass
bun add axios

Build & Run

docker build --pull -t bun-redmine:0.3.0rc15 .

docker build --pull -t bun-redmine:0.3.0rc15 . --no-cache --progress=plain 

docker run -d -p 3000:3000 --env-file .\.env --name bun-redmine bun-redmine:0.3.0rc15

docker tag bun-redmine:0.3.0rc15 pingkunga/bun-redmine:0.3.0rc15
docker push pingkunga/bun-redmine:0.3.0rc15

Test

bun add -d vitest @vitest/ui @vue/test-utils jsdom

bun test

$headers = @{ "Content-Type" = "application/json" "x-api-key" = "YOU_API_KEY" }

$body = @{ projectId = 858 recipients = @("chatri.ngam@sample.co.th") } | ConvertTo-Json

Invoke-RestMethod -Method Post -Uri "http://192.168.1.222:3002/api/release/send-release-mail" -Headers $headers -Body $body

Invoke-RestMethod -Method Post -Uri "http://localhost:3000/api/release/thisweek-release" -Headers $headers

About

A simple redmine client to manange redmine data via REST API

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages