Skip to content

Latest commit

Β 

History

History
95 lines (70 loc) Β· 2.13 KB

File metadata and controls

95 lines (70 loc) Β· 2.13 KB

BitPulse

A modern URL Shortening application built with Next.js, featuring authentication, QR code generation, and data visualization capabilities.

πŸš€ Features

  • Next.js 15 with App Router
  • Authentication with NextAuth.js
  • URL shortening service
  • MongoDB integration with Mongoose
  • QR Code generation
  • Data visualization with Recharts
  • Modern UI with Tailwind CSS
  • JWT-based authentication
  • Secure password hashing with bcryptjs

πŸ“‹ Prerequisites

  • Node.js (Latest LTS version recommended)
  • MongoDB database
  • npm or yarn package manager

πŸ› οΈ Installation

  1. Clone the repository:
git clone <repository-url>
  1. Install dependencies:
npm install
# or
yarn install
  1. Set up environment variables: Create a .env.local file in the root directory with the following variables:
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000

πŸš€ Getting Started

  1. Start the development server:
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 in your browser to see the application.

πŸ› οΈ Tech Stack

  • Frontend: Next.js 15, React 19, Tailwind CSS
  • Backend: Next.js API Routes
  • Database: MongoDB with Mongoose
  • Authentication: NextAuth.js
  • Data Visualization: Recharts
  • QR Code: qrcode.react
  • Security: bcryptjs, jsonwebtoken

πŸ“š Project Structure

my-app/
β”œβ”€β”€ src/              # Source code
β”œβ”€β”€ models/           # Database models
β”œβ”€β”€ public/           # Static assets
β”œβ”€β”€ .env.local        # Environment variables
└── package.json      # Project dependencies

πŸ”’ Security

  • Password hashing with bcryptjs
  • JWT-based authentication
  • Environment variable protection
  • Secure session management with NextAuth.js

πŸ“ˆ Data Visualization

The application uses Recharts for creating interactive and responsive charts and graphs.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.