Skip to content

ARAVINTHL1/devops_fullstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MS Garments Hub

Full-stack B2B textile platform with:

  • React + Vite frontend
  • Express API backend
  • MongoDB persistence
  • Role-based auth (admin, employee, buyer)

Setup

  1. Install dependencies:
npm install
  1. Create your environment file:
copy .env.example .env
  1. Make sure MongoDB is running and MONGODB_URI in .env is correct.

Run

Run frontend + backend together:

npm run dev:full

Or run separately:

npm run dev
npm run dev:server

Frontend: http://localhost:8080

Backend API: http://localhost:5000/api

Authentication Rules

  • Admin default account is seeded in MongoDB only if no admin exists.
  • Employee accounts can be created only by admin from the admin panel.
  • Buyer accounts can log in only after successful signup.

Key Scripts

  • npm run dev -> frontend dev server
  • npm run dev:server -> backend dev server
  • npm run dev:full -> run both frontend + backend
  • npm run build -> frontend production build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors