- Built with React + TypeScript + Vite
- Uses modern UI components from Radix UI
- Styled with Tailwind CSS
- Node.js + Express.js server
- PostgreSQL database
- Features:
- RESTful API architecture
- Session-based authentication
- Database migrations and seeding
- Middleware for request processing
- Environment-based configuration
- Node.js
- PostgreSQL
- npm or yarn
cd frontend
npm install
npm run devcd server
npm install
# Create a .env file with your database credentials
npm run init-db # Initialize database
npm run dev # Start development server
npm drop-db # if you want to drop the db such as DOWN Migration-
Component Architecture
- Used Radix UI primitives for accessible components
- Implemented Shadcn UI for consistent styling
- Organized components by feature and reusability
-
Type Safety
- TypeScript for type checking
- Strict type checking enabled
-
API Design
- RESTful endpoints
- Session-based authentication
- Middleware for request validation
-
Database
- PostgreSQL for data persistence
- Seeding scripts for initial data
-
Security
- Environment variables for sensitive data
- Password hashing with bcrypt
- CORS configuration
- Session-based authentication