Skip to content

TahaKhan998/CENG495-ecommerce

Repository files navigation

CENG495 HW1 - E-commerce Application

Deployment URL

Your application is deployed at: https://ceng-495-ecommerce-jade.vercel.app

Login Information

  • Admin User:
    • Username: admin
    • Password: admin123
  • Regular User:
    • Username: user
    • Password: user123

Design Decisions

  • Programming Language: JavaScript (Node.js)
    • Chosen for its compatibility with modern frameworks and ease of deployment on platforms like Vercel.
  • Framework: Next.js (React Framework)
    • Provides a hybrid static and server rendering, enabling better performance.
    • Integrated API routes for backend handling.
  • Database: MongoDB (No Mongoose)
    • Direct connection to MongoDB for simplicity and compatibility with Vercel's serverless functions.
  • Styling: Tailwind CSS
    • Chosen for its utility-first approach, making styling more efficient and maintainable.
  • Deployment: Vercel
    • Chosen for its seamless integration with Next.js applications.

User Guide

Home Page

  • Displays all items categorized into Vinyls, Antique Furniture, GPS Sport Watches, and Running Shoes.
  • Users can click on an item to view more details.

Item Details Page

  • Shows full details of the selected item.
  • Allows users to leave reviews if logged in.

Admin Panel

  • Accessible only by an Admin User.
  • Allows adding, editing, and deleting items.
  • Users can also be managed (added or deleted).

Login & Signup

  • Users can register and log in with their credentials.
  • Admin login credentials are preset.

Notes

  • I chose Next.js for its robust server-side rendering capabilities and built-in API routing, which allowed me to build a full-stack application within a single framework.
  • Using MongoDB provided me the flexibility to handle different categories of items with various fields without requiring rigid table structures.
  • The Tailwind CSS library helped me maintain consistency and efficiency in styling across all pages.
  • Dark mode compatibility is ensured throughout the application.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors