Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Features like Rate Limiting, Cookie-based Authentication, and Image Upload #1

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AnujChhikara
Copy link

Full-Stack Course Selling Project

This project is a full-stack application built with Next.js for the frontend and Node.js for the backend. It supports features like user authentication using cookies, image upload functionality with Multer and Cloudinary, and rate limiting for API security.

Visit the website

Features

0. Frontend

  • Frontend is Nextjs
  • Ui is completely build using v0.dev

1. User Authentication

  • Authentication is handled using JWT tokens stored in cookies for secure login.
  • Includes routes for sign-in, sign-up, and user profile management.

2. Rate Limiting

  • The application implements rate limiting to enhance security by preventing abuse of API routes.
  • Rate limits is 100 request per minute from an IP.

3. Image Upload

  • Supports image uploads using Multer for handling multipart form data.
  • Uploaded images are stored in Cloudinary for efficient media management.

4. Frontend - Next.js

  • The frontend is built with Next.js, featuring server-side rendering and optimized static generation.
  • User authentication state is managed using cookies for persistence across pages.

5. Backend - Node.js

  • Backend API is built using Node.js and Express.
  • Handles all business logic, including user registration, authentication, and data storage.

Technologies Used

  • Frontend: Next.js, React
  • Backend: Node.js, Express.js
  • Authentication: JWT (Stored in Cookies)
  • Database: MongoDB (Mongoose)
  • Image Upload: Multer, Cloudinary
  • API Rate Limiting: express-rate-limit

@kesararanjitha
Copy link

hi

@AnujChhikara
Copy link
Author

Hello 👋> hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants