Skip to content

MrAfoo/Elite-Mart

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

E-commerce Furniture Store

A modern e-commerce platform(Elite Mart) built with Next.js 13, Tailwind CSS, and Sanity CMS.

Features

  • Product catalog with categories
  • Shopping cart functionality
  • Blog section with comments
  • Secure payment integration
  • Responsive design
  • Real-time content updates via Sanity
  • Input validation and security measures

Tech Stack

  • Next.js 13
  • TypeScript
  • Tailwind CSS
  • Sanity CMS
  • Framer Motion
  • Vercel Deployment

Deployment Steps

  1. Set up a Sanity project and connect it to your Next.js app.
npm create sanity@latest -- --project 84ovqw5z --dataset production --template clean
  1. Configure Environment Variables:
NEXT_PUBLIC_SANITY_PROJECT_ID=your_project_id
NEXT_PUBLIC_SANITY_DATASET=production
SANITY_API_TOKEN=your_token
  1. Deploy to Vercel:

Performance Testing Result

  • GTmetrix Score: Screenshot

Screenshot

Security Measures

-Input validation implemented -Rate limiting configured -Secure headers added -HTTPS enforced -API endpoint protection

Data Import Process

Successfully imported product data using custom script with:

  • Image upload to Sanity
  • Data transformation
  • Schema validation

Testing Coverage

  • Unit Tests: Passed
  • Integration Tests: Passed
  • E2E Tests: Passed
  • Security Tests: Passed

Future Enhancements

  • Enhanced search functionality
  • User authentication
  • Order tracking
  • Admin dashboard
  • Analytics integration

Contributing

  • Fork the repository
  • Create feature branch
  • Commit changes
  • Push to branch
  • Open pull request

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

An E-commerce project built with modern tech and optimized for performance, it delivers lightning-fast results while maintaining clean, maintainable code. Features include seamless integration, robust architecture, and an intuitive interface - everything you need for efficient development right

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages