Skip to content

About

This app allows you to manage tasks by project.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🗂️ Task management system

This app allows you to manage tasks by project.

📁 Folder structure

📚 Libraries

  • element-plus - UI kit
  • pinia - store
  • unplugin-auto-import - auto import vue functions
  • unplugin-vue-router - auto import vue-router functions
  • unplugin-vue-components - auto-import Vue and vue-router components, such as RouterLink, etc.
  • unplugin-element-plus - optimize element-plus components styles
  • unplugin-icons - element plus icons

🚀 Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Run Tests with Vitest

npm run test

Run tests with hot-reload and a nice in-browser report

npm run test:ui

🧪 Api mocks

The entire backend API is mocked by axios-mock-adapter. These mocks are used in the app and tests. All mocks are located in mocks.ts. You can also simulate delay for each response in main.ts app.use(ApiPlugin, {delayResponse: 500})

🔐 Auth guards demo

The mocked API includes a simple handler that returns a 401 for any request without an Authorization header, except for the /projects route. Axios interceptor throws UI notification when it catches a 401 error. I have added a demo section for each page where you can remove token from localStorage to see "Unauthorized" error

About

This app allows you to manage tasks by project.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages