Alienic is a sophisticated e-commerce and portfolio platform built for showcasing and selling alternative art collections and products. The project features a modern, dark-themed interface with comprehensive admin management capabilities, customer testimonials, and seamless user experience.
- Product Catalog: Browse and filter products by category and collection
- Collection Management: Themed product collections with rich descriptions
- Shopping Experience: Modern, responsive design with smooth animations
- Product Details: Detailed product pages with stories and specifications
- Hero Section: Striking landing experience with animated backgrounds
- Featured Collections: Showcase highlighted collections on the homepage
- Brand Philosophy: Dedicated section for brand story and values
- Instagram Integration: Social media integration for community engagement
- Testimonial System: Customer reviews with admin moderation
- Contact Forms: Easy communication channels
- Social Proof: Approved customer testimonials displayed publicly
- Secure Authentication: Session-based admin login system
- Collection Management: Create, edit, and organize collections
- Product Management: Full CRUD operations for products
- Testimonial Moderation: Approve or manage customer reviews
- Message Inbox: Handle customer inquiries
- Real-time Updates: Live data synchronization
- Next.js 16.1.6 - React framework with App Router
- React 19.2.4 - UI library
- TypeScript 5.7.3 - Type-safe development
- Tailwind CSS 4.1.9 - Utility-first styling
- Radix UI - Accessible component primitives
- Lucide React - Icon library
- Framer Motion - Animations and transitions
- Prisma 7.4.1 - Database ORM
- PostgreSQL - Primary database
- bcryptjs - Password hashing
- NextAuth.js - Authentication (session-based)
- ESLint - Code linting
- PostCSS - CSS processing
- tsx - TypeScript execution
alienic/
βββ app/ # Next.js App Router pages
β βββ admin/ # Admin dashboard routes
β βββ api/ # API endpoints
β βββ (pages)/ # Public pages
βββ components/ # Reusable React components
β βββ admin/ # Admin-specific components
β βββ home/ # Homepage sections
β βββ shop/ # E-commerce components
β βββ ui/ # Base UI components
βββ lib/ # Utility libraries
βββ prisma/ # Database schema and migrations
βββ public/ # Static assets
βββ scripts/ # Database and utility scripts
βββ styles/ # Global styles and fonts
- Node.js 18+
- PostgreSQL database (local or cloud)
- Git
git clone https://github.com/yourusername/alienic.git
cd alienic
npm installCreate a .env file in the root directory:
# Database
DATABASE_URL="postgresql://username:password@localhost:5432/alienic"
# Session Security
SESSION_SECRET="your-super-secret-session-key"
# Optional: Analytics
VERCEL_ANALYTICS_ID="your-vercel-analytics-id"# Run database migrations
npm run db:migrate
# Generate Prisma Client
npm run db:generate
# Seed with sample data (optional)
npm run db:seed# Create an admin account
npm run create-admin your-email@domain.com your-passwordnpm run devVisit http://localhost:3000 to see the application.
The application uses the following main models:
- Collection - Product collections with themes and descriptions
- Product - Individual products with categories and pricing
- Testimonial - Customer reviews with moderation status
- ContactMessage - Customer inquiries and messages
- AdminUser - Admin authentication and sessions
# Development
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
# Database
npm run db:migrate # Run database migrations
npm run db:generate # Generate Prisma Client
npm run db:studio # Open Prisma Studio
npm run db:seed # Seed database with sample data
# Admin
npm run create-admin # Create admin user- Session-based Authentication - Secure admin login with HTTP-only cookies
- Password Hashing - bcryptjs for secure password storage
- Protected Routes - Admin-only routes with middleware protection
- Input Validation - Zod schema validation for API endpoints
- CSRF Protection - Built-in Next.js security features
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on push to main branch
# Add your Docker configuration herenpm run build
npm run start- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add 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.
- Radix UI - For accessible component primitives
- Tailwind CSS - For the utility-first CSS framework
- Prisma - For the excellent database toolkit
- Vercel - For the hosting platform
For support, please contact:
- Email: support@alienic.com
- GitHub Issues: Create an issue
