Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tanvirTheDev/EliteGadget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

πŸ“Œ Project Overview

EliteGadget is an electronic gadgets e-commerce platform designed to provide a seamless shopping experience. This project was built using Next.js (frontend) and Node.js with Express and Mongoose (backend) following a modular architecture.

πŸ›  Implementation Details

🌐 Frontend (Next.js)

  • State Management: Redux Toolkit
  • Styling: Tailwind CSS
  • Routing: Next.js App Router
  • Authentication: JWT & Firebase Social Login
  • UI Components: Shadcn & Material-UI

πŸ”§ Backend (Node.js + Express + Mongoose)

  • Database: MongoDB
  • ORM/ODM: Mongoose & Prisma
  • Authentication: JWT
  • Payment Integration: SSLCommerz
  • Search Feature: Meilisearch

πŸ—οΈ Weekend Case Study: Building the Backend for Electronic Gadgets Shop

πŸ“… Date: October 21-22, 2023
🎯 Goal: Set up the backend for the Electronic Gadgets Shop project using Node.js, Express, and MongoDB.


βœ… Tasks Completed

  • πŸš€ Project setup with TypeScript and ESLint.
  • πŸ”‘ Implemented JWT-based authentication.
  • πŸ“¦ Designed MongoDB schemas for User and Product.
  • πŸ”„ Created RESTful API endpoints for user and product management.

⚠️ Challenges Faced

  • πŸ”Ή Implementing secure JWT authentication.
  • πŸ”Ή Restricting access to admin-only routes.
  • πŸ”Ή Configuring TypeScript with Express and Mongoose.

πŸ”‘ Solutions Implemented

  • πŸ”Ή Used jsonwebtoken for token generation and verification.
  • πŸ”Ή Created roleMiddleware for role-based access control.
  • πŸ”Ή Extended the Request interface to include a user property.

πŸš€ Results

  • βœ… Functional backend with secure authentication.
  • βœ… Clean and maintainable code with TypeScript and ESLint.

🎯 Lessons Learned

  • πŸ“Œ Gained hands-on experience with JWT and role-based access control.
  • πŸ“Œ Improved my understanding of TypeScript and Mongoose.

This case study highlights my problem-solving skills and backend development expertise. πŸš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /