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

github.com/orfeo42/admin-panel

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/orfeo42/admin-panel

  • v0.0.0-20241031093218-08e276ebc7d2
  • Source
  • Go
  • Socket score

Version published
Created
Source

Admin Panel for Invoice and Order Management

Welcome to the Admin Panel for Invoice and Order Management project! This Go-based application is designed to provide administrators with a comprehensive tool to manage invoices and orders efficiently. With this admin panel, you can track orders, generate invoices, and manage customer information all from one centralized interface.

Table of Contents

  • Features
  • Requirements
  • Installation

Features

  • Order Management: View, edit, and track customer orders.
  • Invoice Management: Generate and manage invoices with ease.
  • Customer Management: Store and update customer information.
  • Dash Board: home page with charts and totals
  • Responsive Design: Access from both desktop and mobile devices.

Requirements

  • Go 1.23 or higher
  • PostgreSQL database
  • [Optional] Docker for containerized deployment
  • [Optional] Make to run scripts

Installation

To get started with the Admin Panel, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Orfeo42/admin-panel.git
    cd admin-panel
    
  2. Set up your Go environment:

    Make sure you have Go installed and properly set up. You can check this by running:

    go version
    
  3. Install dependencies:

    go mod tidy
    
  4. Set up your database:

    you can define the configuration parameter for your database in the .env file

    DB_HOST=localhost
    DB_PORT=5432
    DB_DATABASE=admin_panel_db
    DB_USERNAME=admin_panel_user
    DB_PASSWORD=admin_panel_password
    

    then to start the db container just run:

    docker-compose -f docker-compose.yaml up -d postgres
    

    or run the make command:

    make db-up
    
  5. Run the database creation and data preload (you need a xlsx to fill the data in the db):

    @go run ./preload/main.go
    

    or run the make command:

    make db-init
    
  6. Start the application:

    @go run ./cmd/api/main.go
    
  7. Access the admin panel:

    you can define the port for your application in the .env file

    PORT=8080
    

    Open your web browser and navigate to http://localhost:8080 to start using the admin panel.

FAQs

Package last updated on 31 Oct 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