UniQ is a website that focuses on bringing a centralised marketplace to UoA students, filling the gap left behind by the liquidation of UBIQ.
Frontend:
- React
- Next.js 14
- TypeScript
- Tailwind CSS
Backend:
- Next.js API Routes
- MongoDB
- Mongoose
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env.local
Edit
.env.localwith your MongoDB connection string. -
Run the development server:
npm run dev
-
Open your browser: Navigate to http://localhost:3000
├── app/ # Next.js 13+ App Router
│ ├── api/ # API routes
│ ├── book/ # Book details pages
│ ├── course-books/ # Course books listing
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── lib/ # Utility libraries
│ └── mongodb.ts # Database connection
├── models/ # MongoDB models
│ └── Book.ts # Book model
└── public/ # Static assets
- 📚 Browse books by course
- 🔍 Search for specific textbooks
- 📖 Detailed book information
- 💰 Price comparison
- 👤 Seller contact information
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint