π Autoilty - Asiaβs Premier Auto Business Directory
π Overview
Autoilty.com is a comprehensive business curation platform for the automotive industry, now expanded to Asia markets (Canada, Singapore, Malaysia, Indonesia, Thailand). It showcases vetted auto businessesβmechanics, dealerships, parts stores, detailing services, and moreβusing an advanced 10-point scoring system based on reviews, community engagement, social signals, and country-specific excellence factors.
Key Features
- β
Multi-Country Support - CA, SG, MY, ID, TH with localized content
- π Internationalization - English, Malay, Indonesian translations
- π Geo-IP Detection - Automatic country detection and routing
- π Advanced Search & Filters - Country-aware categories and makes
- π¬ Forum Integration - Country-specific discussion threads
- π± Mobile-First Design - Responsive across all devices
- π Next.js 15 - Latest Next.js with App Router
- π Authentication - NextAuth.js with Google/Twitter OAuth
π Quick Start
Prerequisites
- Node.js 18+ and npm 9+
- MongoDB 7.0+ (for backend API)
- Redis 7+ (optional, for caching)
Installation
- Clone the repository:
git clone https://github.com/xttalx/Autoilty-11.git
cd Autoilty-11
- Navigate to Next.js app and install dependencies:
cd nextjs-app
npm install
β οΈ IMPORTANT: You must run npm install in the nextjs-app directory after cloning!
- Start the development server:
- Open your browser:
- Visit: http://localhost:3000
- The app will automatically redirect to your country page
Accessing Different Countries
- Canada: http://localhost:3000/ca
- Singapore: http://localhost:3000/sg
- Malaysia: http://localhost:3000/my
- Indonesia: http://localhost:3000/id
- Thailand: http://localhost:3000/th
π Project Structure
autoilty-11/
βββ nextjs-app/ # Next.js 15 frontend application
β βββ app/ # Next.js App Router pages
β βββ components/ # React components
β βββ lib/ # Utilities and configs
β βββ public/ # Static assets
βββ server/ # Express backend API
βββ client/ # Legacy React frontend (being migrated)
βββ scripts/ # Data scraping and seeding scripts
ποΈ Tech Stack
Frontend:
- Next.js 15 (App Router)
- React 18
- Tailwind CSS
- TypeScript
- i18next for internationalization
- NextAuth.js for authentication
Backend:
- Node.js with Express
- MongoDB with Mongoose
- GraphQL (Apollo Server)
- Redis for caching
- JWT authentication
π Documentation
- Quick Start: See
nextjs-app/QUICKSTART.md
- Asia Expansion: See
nextjs-app/ASIA_EXPANSION_README.md
- Project Structure: See
PROJECT_STRUCTURE.md
- Deployment: See
DEPLOYMENT.md
π³ Docker Deployment
π€ Contributing
Contributions are welcome! Please read our contributing guidelines first.
π License
This project is licensed under the MIT License.
π Troubleshooting
Module not found errors:
- Delete
node_modules and package-lock.json
- Run
npm install again in the nextjs-app directory
Seeing README instead of app:
- Make sure youβre accessing http://localhost:3000 (not a file path)
- Verify
npm run dev is running in the nextjs-app directory
- Check terminal for any error messages
Port already in use:
- Use a different port:
PORT=3001 npm run dev
For more help, see nextjs-app/QUICKSTART.md or nextjs-app/START.md.
π Support
For issues or questions, please open an issue on GitHub.