Skip to content

kurocode25/mutsura-admin

Repository files navigation

Mutsura Admin

This project is a front-end implementation of the management dashboard (dashboard) for the Mutsra blog system. It connects to mutsura-api and manages content.

Currently, it is in development stage, with frequent additions or changes of functions.

Overview

A simple and intuitive management panel built with React, TypeScript, and Vite. Provides management functionality for articles (Post), fixed pages (Page), categories, and tags.

Main Features

  • Authentication: login function, JWT token-based authentication, automatic token refresh.
  • Dashboard: displays system-wide statistics and summaries.
  • Article Management: creates, edits, lists, and deletes articles using a Markdown editor.
  • Page Management: lists, creates, edits, and deletes fixed pages.
  • Category Management: manages categories with listing and detailed management.
  • Tag Management: manages tags with listing and detailed management.

Technical Stack

Setup

Prerequisites

Installation

Run the following command in the project root directory:

npm install

Environment Configuration

Create a .env file (or .env.local) and set the backend API URL.

VITE_API_BASE_URL=http://localhost:3000

Development Server Startup

npm run dev

Open http://localhost:5173 in your browser to access the development server.

Build

Generates files for production environment.

npm run build

Project Structure

src/
├── api.ts          # API client definition
├── App.tsx         # routing settings
├── main.tsx        # entry point
├── theme.ts        # MUI theme settings
├── components/     # UI components
│   ├── auth/       # authentication-related (login, protected routes)
│   ├── posts/      # article management functionality
│   ├── pages/      # page management functionality
│   ├── categories/ # category management functionality
│   └── tags/       # tag management functionality
└── contexts/       # React Context (AuthContext, etc.)

License

See LICENSE, THIRD_PARTY_LICENSES.md.

About

Administrative dashboard for managing content in the Mutsura blogging platform.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages