Skip to content

Atuldubey98/OptimumERP

Repository files navigation

Optimum ERP Deployment Guide

Project Brief

Optimum ERP is a full-stack ERP platform for managing business operations such as users, organizations, invoicing, purchases, expenses, reports, and settings.

Tech stack:

  • Frontend: React + Vite
  • Backend: Node.js + Express
  • Database: MongoDB
  • Scheduler: Background cron service
  • Deployment: Docker Compose

Deployment Steps

  1. Prerequisites
  • Install Docker
  • Install Docker Compose plugin
  1. Clone repository
git clone https://github.com/Atuldubey98/OptimumERP.git
  1. Open project directory
cd OptimumERP
  1. Create environment file
  • Create .env in project root.
  • Use env.txt as reference.
  • Add only these keys in .env:
MONGO_URI=mongodb://mongo:27017/mernapp?replicaSet=rs0
SESSION_SECRET=SESSION_SECRET
VITE_API_URL=http://localhost:3000
IMPORT_CRON_SCHEDULE=*/5 * * * *
LOG_FILE_PATH=./logs/app.log
DEFAULT_USER_PLAN=platinum
NETWORK_STORAGE_PATH=./uploads
  1. Start all services
docker compose up -d --build
  1. Verify services
docker compose ps
  1. Verify backend health
curl http://localhost:3000/api/v1/health
  1. Access application

Common Commands

Restart services:

docker compose restart

Stop services:

docker compose down

View logs:

docker compose logs -f

Production Notes

  • Keep .env secrets private.
  • Use HTTPS with reverse proxy for production.
  • Back up MongoDB data volume regularly.
  • Rotate credentials periodically.

About

Optimum ERP is a comprehensive full-stack platform for seamless business management. Streamline operations across invoicing, purchases, and expenses while handling global tax compliance including GST and VAT. Generate detailed financial reports, manage organizational hierarchies, and track real-time party ledgers to drive data-backed growth.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors