Skip to content

deepakcs2003/Silai-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GuddiSilai πŸ‘—βœ¨

GuddiSilai is an open-source tailoring platform where users can book custom stitching services for blouses, lehengas, and dresses. Users can view designs, add personalized measurements, and track their orders online. Inspired by local silai shops, now powered by React and Node.js.

β€œSilai ki duniya, ab online.” β€” GuddiSilai


🌐 Live Demo

🚧 www.guddisilai.shop


πŸ“Έ Preview

image image image image image


✨ Key Features

  • πŸ‘— Blouse, Lehenga, Dress stitching booking
  • 🧡 Design browsing and custom orders
  • πŸ“ Measurements and personalization
  • πŸ” Google OAuth login
  • βš™οΈ Admin panel for order/design management (WIP)
  • πŸ” SEO-ready with sitemap generator

πŸ›  Tech Stack

Layer Tech Used
Frontend React.js, Tailwind CSS
Backend Node.js, Express.js
Authentication JWT, Google OAuth
Database MongoDB (Cloud via Atlas)
Deployment Vercel (Frontend), Render (Backend)

🎨 GuddiSilai Color Palette

This color palette is crafted to represent royalty, affordability, and the essence of blouse stitching and tailoring for the GuddiSilai brand.


🌟 Brand Colors

Color Name Hex Code Preview Usage
Royal Maroon #800000 ![#800000] Primary brand color, buttons, headers
Soft Peach #FFE5B4 ![#FFE5B4] Backgrounds, soft UI sections
Gold Dust #D4AF37 ![#D4AF37] Borders, icons, decorative accents
Slate Grey #4A4A4A ![#4A4A4A] Main text color
Thread Blue #6C8CD5 ![#6C8CD5] Hover effects, buttons, highlights

🧡 Usage in CSS

:root {
  --color-maroon: #800000;
  --color-peach: #FFE5B4;
  --color-gold: #D4AF37;
  --color-grey: #4A4A4A;
  --color-thread-blue: #6C8CD5;
}

/* Example Usage */
.button-primary {
  background-color: var(--color-maroon);
  color: white;
}

.section-background {
  background-color: var(--color-peach);
}

.text-main {
  color: var(--color-grey);
}

## πŸ“‚ Project Structure


guddisilai/
β”œβ”€β”€ backend/                # Express Backend
β”‚   β”œβ”€β”€ Config/
β”‚   β”œβ”€β”€ Controller/
β”‚   β”œβ”€β”€ Middleware/
β”‚   β”œβ”€β”€ Models/
β”‚   β”œβ”€β”€ Routes/
β”‚   └── app.js
β”‚
β”œβ”€β”€ public/                 # Public assets
β”‚
β”œβ”€β”€ src/                    # React Frontend
β”‚   β”œβ”€β”€ Assist/
β”‚   β”œβ”€β”€ Common/
β”‚   β”œβ”€β”€ Components/
β”‚   β”œβ”€β”€ Context/
β”‚   β”œβ”€β”€ Pages/
β”‚   β”œβ”€β”€ Routers/
β”‚   β”œβ”€β”€ App.js
β”‚   β”œβ”€β”€ App.css
β”‚   β”œβ”€β”€ index.js
β”‚   └── index.css
β”‚
β”œβ”€β”€ .gitignore
β”œβ”€β”€ README.md
β”œβ”€β”€ package.json
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ generate-sitemap.js
β”œβ”€β”€ tailwind.config.js
β”œβ”€β”€ vercel.json


πŸš€ Getting Started (Local Setup)

1️⃣ Clone the Repository

git clone https://github.com/deepakcs2003/guddisilai.git
cd guddisilai

2️⃣ Backend Setup (/backend)

cd backend
npm install
cp .env.example .env  # Fill your credentials
npm start

Backend runs on: http://localhost:5000


3️⃣ Frontend Setup (/src root)

npm install
cp .env.example .env  # Frontend Google Client ID
npm start

Frontend runs on: http://localhost:3000


πŸ” Environment Variables

πŸ“ /backend/.env.example

# Server Port
PORT=5000

# MongoDB URI
MONGO_URI=your_mongodb_uri

# JWT Secret
JWT_SECRET=your_jwt_secret_key

# Google OAuth Config
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_REDIRECT_URI=http://localhost:5000/api/auth/google/callback

πŸ“ /src/.env.example

REACT_APP_GOOGLE_CLIENT_ID=your_google_client_id

βœ… Add .env to .gitignore in both places!


πŸ—Ί SEO: Sitemap Generator

You can run:

node generate-sitemap.js

It auto-generates sitemap based on route paths for search engines.


🀝 Contributing

We welcome contributions!

  1. Fork this repo
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Commit: git commit -m 'Add some feature'
  4. Push: git push origin feature/my-feature
  5. Create Pull Request βœ…

πŸͺͺ License

This project is licensed under the MIT License.


πŸ‘¨β€πŸ’» Maintainer

Deepak Vishwakarma πŸ“Έ Instagram: @guddisilai


🧡 β€œEvery stitch tells a story.” β€” GuddiSilai


---

### βœ… Also Create These Files in Your Repo:

#### πŸ”Ή `/backend/.env.example`
```env
PORT=5000
MONGO_URI=your_mongo_uri
JWT_SECRET=your_jwt_secret
GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secret
GOOGLE_REDIRECT_URI=http://localhost:5000/api/auth/google/callback

πŸ”Ή /src/.env.example

REACT_APP_GOOGLE_CLIENT_ID=your_client_id

About

demo_not_in_production

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •