Skip to content

A modern e-commerce platform for alternative art and fashion. Built with Next.js, TypeScript, and Prisma.

Notifications You must be signed in to change notification settings

yaso7/Alienic-Project-Shop

Repository files navigation

Alienic

Alienic Logo

A modern e-commerce platform for alternative art and fashion

Next.js React TypeScript Prisma Tailwind CSS

🌟 Overview

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.

✨ Features

πŸ›οΈ E-Commerce

  • 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

🎨 Portfolio & Branding

  • 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

πŸ’¬ Community & Trust

  • Testimonial System: Customer reviews with admin moderation
  • Contact Forms: Easy communication channels
  • Social Proof: Approved customer testimonials displayed publicly

πŸ› οΈ Admin Dashboard

  • 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

πŸš€ Tech Stack

Frontend

  • 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

Backend & Database

  • Prisma 7.4.1 - Database ORM
  • PostgreSQL - Primary database
  • bcryptjs - Password hashing
  • NextAuth.js - Authentication (session-based)

Development Tools

  • ESLint - Code linting
  • PostCSS - CSS processing
  • tsx - TypeScript execution

πŸ“ Project Structure

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

πŸ› οΈ Installation & Setup

Prerequisites

  • Node.js 18+
  • PostgreSQL database (local or cloud)
  • Git

1. Clone & Install

git clone https://github.com/yourusername/alienic.git
cd alienic
npm install

2. Environment Setup

Create 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"

3. Database Setup

# Run database migrations
npm run db:migrate

# Generate Prisma Client
npm run db:generate

# Seed with sample data (optional)
npm run db:seed

4. Create Admin User

# Create an admin account
npm run create-admin your-email@domain.com your-password

5. Start Development

npm run dev

Visit http://localhost:3000 to see the application.

πŸ—„οΈ Database Schema

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

πŸ“š Available Scripts

# 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

πŸ” Security Features

  • 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

🌐 Deployment

Vercel (Recommended)

  1. Push your code to GitHub
  2. Connect your repository to Vercel
  3. Add environment variables in Vercel dashboard
  4. Deploy automatically on push to main branch

Docker

# Add your Docker configuration here

Manual Deployment

npm run build
npm run start

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • 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

πŸ“ž Support

For support, please contact:


Built with ❀️ for the alternative art community

Website Documentation

About

A modern e-commerce platform for alternative art and fashion. Built with Next.js, TypeScript, and Prisma.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages