A modern SaaS platform for managing offers, clients, and products, built with React, Express, and PostgreSQL.
- 🔐 Secure authentication system
- 👥 Client management
- 📄 Offer creation and management
- 📊 Sales pipeline
- 📦 Product catalog
- 📧 Email system
- ⚙️ Customizable settings
- Node.js v18 or higher
- PostgreSQL v14 or higher
- pnpm (recommended) or npm
- Clone the repository
git clone https://github.com/halobartku/saas-offer.git
cd saas-offer- Set up environment variables
# Copy environment templates
cp .env.example .env
cp server/.env.example server/.env
# Edit the .env files with your configuration- Install dependencies
# Install server dependencies
cd server
pnpm install
# Install client dependencies
cd ../client
pnpm install- Start development servers
# Start server (from server directory)
pnpm dev
# Start client (from client directory)
pnpm dev- Build and run with Docker Compose
docker-compose up -d├── client/ # Frontend React application
│ ├── src/
│ │ ├── components/ # UI components
│ │ ├── hooks/ # Custom React hooks
│ │ ├── lib/ # Utilities and API
│ │ └── pages/ # Application pages
├── server/ # Backend Express application
│ ├── src/
│ │ ├── api/ # API routes
│ │ ├── config/ # Configuration
│ │ ├── db/ # Database migrations
│ │ └── utils/ # Utilities
└── shared/ # Shared types and utilities
pnpm dev- Start development serverpnpm build- Build for productionpnpm start- Start production serverpnpm migrate- Run database migrations
pnpm dev- Start development serverpnpm build- Build for productionpnpm preview- Preview production build
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details