A modern, full-stack blogging application built with Next.js and JavaScript, powered by MongoDB for database operations.
Features • Tech Stack • Installation • Contributing • Screenshots • Live • Author
- 🔐 Secure Authentication - Login and registration with JWT and bcryptjs
- 📝 Rich Text Editing - Create and edit posts with WYSIWYG editor
- 📱 Responsive Design - Fully adaptive across all devices
- 📅 Smart Date Formatting - Intuitive published date displays
- 🔔 Real-time Notifications - Toast notifications for user interactions
- Next.js - React framework for production
- React - UI component development
- TailwindCSS - Utility-first CSS framework
- MongoDB - NoSQL database for flexible data storage
- jsonwebtoken - Secure authentication
- bcryptjs - Password encryption
-
Clone the repository
git clone https://github.com/Ashwin-S-Nambiar/Quillify.git cd Quillify
-
Install dependencies
npm install
-
Set Up MongoDB Database
-
Visit MongoDB Cloud and create a new cluster
-
Click "Connect" and choose "Connect to your application"
-
Copy the connection string
-
Create / Open
.env
-
Add your MongoDB connection string:
DATABASE_URL=your_mongodb_connection_string
-
-
Configure Additional Environment Variables
# Generate JWT Secret node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
Create / Open
.env.local
and add:JWT_SECRET=generated_secret_from_above_command ADMIN_EMAIL=your_admin_email ADMIN_PASSWORD=your_admin_password
-
Create Admin Account
# Creating an Admin node -r dotenv/config scripts/createAdmin.js
-
Launch development server
npm run dev
Contributions are welcome! Here's how you can help improve Quillify:
-
Fork the repository
-
Create a feature branch:
git checkout -b feature/amazing-feature
-
Commit your changes:
git commit -m 'Add some amazing feature'
-
Push to the branch:
git push origin feature/amazing-feature
-
Open a Pull Request
- Portfolio: ashwin-s-nambiar.is-a.dev
- GitHub: @Ashwin-S-Nambiar