Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

admin-panel-feature

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-panel-feature

A standalone admin panel feature for React applications

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
56
Maintainers
0
Weekly downloads
 
Created
Source

Admin Panel Feature

A standalone admin panel feature for React applications.

Features

  • System status monitoring
  • Bug and feature request tracking
  • Screenshot capture and upload
  • Real-time metrics display

Installation

npm install admin-panel-feature

Usage

  1. Import the AdminPanel component:
import { AdminPanel } from 'admin-panel-feature';
  1. Use the component in your React application:
function App() {
  return (
    <div>
      <h1>My App</h1>
      <AdminPanel />
    </div>
  );
}
  1. Ensure you have the required API routes set up in your Next.js application:
  • /api/status: Get system status
  • /api/status/metrics: Get real-time metrics
  • /api/sync/bugs: Sync bug reports
  • /api/screenshots: Upload screenshots

Configuration

Make sure to set up your MongoDB connection string in your application's environment variables:

MONGODB_URI=your_mongodb_connection_string

Dependencies

This package has the following peer dependencies:

  • react: ^17.0.0 || ^18.0.0
  • react-dom: ^17.0.0 || ^18.0.0
  • next: ^12.0.0 || ^13.0.0
  • mongodb: ^5.0.0

Ensure these are installed in your project.

Development

  1. Clone the repository
  2. Install dependencies: npm install
  3. Start the development server: npm run start

Testing

Run the tests with:

npm test

Linting

Lint the code with:

npm run lint

Building

Build the package with:

npm run build

License

MIT

Keywords

FAQs

Package last updated on 13 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc