Minimalist Blogs is a sleek and simple blogging platform designed to provide essential blogging features with a clean interface. Users can create, publish, and manage their blogs effortlessly. Additional functionalities are in development to enhance user experience, including:
- 🖋️ Markdown-based editor
- 📊 Portfolios/Dashboards for each user
- 📚 Ability to create collections
- 📝 Save multiple drafts
- 🖼️ Adding media and generating table of contents for blogs
This project utilizes a serverless architecture, leveraging Cloudflare Workers for hosting. The backend stack is composed of the following technologies:
- ⚡ Hono as the web framework
- 🗃️ Prisma as the ORM, with Prisma Accelerate for connection pooling
- 🐘 PostgreSQL for the database, provided by Avien
- ☁️ Cloudflare Workers for serverless hosting
The frontend is designed to be minimalist and responsive, providing a seamless user experience. The stack includes:
- ⚛️ React as the frontend framework
- 🌐 React Router Dom for routing
- 📡 Axios for data fetching and posting
- 🎨 Tailwind CSS for styling
To get started with Minimalist Blogs, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/minimalist-blogs.git cd minimalist-blogs
-
Install dependencies for the backend:
cd backend npm install
-
Install dependencies for the frontend:
cd frontend npm install
-
Set up environment variables:
Create a
.env
file in bothbackend
andfrontend
directories and configure the necessary environment variables as specified in the.env.example
files. -
Run the backend server:
cd backend npm run dev
-
Run the frontend development server:
cd frontend npm run dev
-
You will also need to change the deployed backend URLs for fetching and posting data to your backend's localhost url to run it locally.
https://backend.ducheharsh.workers.dev/api/v1/* --replace this https://localhost:(`whatever your backend post is`) -- to this
We welcome contributions to enhance the functionalities of Minimalist Blogs. To contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
We appreciate your interest in Minimalist Blogs. If you have any questions or feedback, please feel free to open an issue or contact the maintainers. Happy blogging! ✍️😊