Skip to content

deepshaswat/deepshaswat.com

Repository files navigation

deepshaswat.com - Modern Newsletter Platform

This is a modern newsletter platform with custom CMS to create and manage blogs, newsletters and members with Notion style text editor built with Turborepo, Next.js, and various other cutting-edge technologies. The project uses a monorepo structure to manage multiple applications and shared packages.

🚀 Tech Stack

  • Turborepo - High-performance build system
  • Next.js - React framework
  • Tailwind CSS - Utility-first CSS framework
  • Prisma - Next-generation ORM
  • Shadcn/ui - Re-usable components
  • AceternityUI - Modern animated components
  • Recoil - State management
  • Clerk - Authentication
  • Resend - Modern way of sending email
  • Digital Ocean - New age managed services. Using for redis, mongodb etc.
  • PostHog - Best tool for analytics and best free tier.
  • AWS - Suing S3 bucket here to store all the media

📦 Project Structure

Apps

  • web/ - Blog site with personal website. Newsletter page with option to subscribe Live here
  • admin/ - Admin site with create blogs, newsletter and user management. Enhancements are still in progress. Link to demo

Packages

  • actions/ - Shared business logic and API actions
  • db/ - Database client and schema definitions
  • ui/ - Shared UI component library
  • store/ - State management and data stores
  • schema/ - Shared type definitions and schemas
  • config-tailwind/ - Shared Tailwind configuration
  • config-typescript/ - Shared TypeScript configurations
  • config-eslint/ - Shared ESLint configurations

🛠️ Development

Prerequisites

  • Node.js >= 16
  • Yarn
  • MongoDB (for Prisma)

Getting Started

  1. Clone the repository:
git clone https://github.com/deepshaswat/deepshaswat.com.git
  1. Install dependencies:
yarn install
  1. Set up environment variables:
cp .env.example .env
  1. Start the development server:
yarn dev

🏗️ Building

yarn build

🧪 Testing

yarn test

📚 Additional Resources

📝 License

MIT

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published