Blogsy is a modern, full-stack blogging platform built with cutting-edge technologies. It provides a seamless experience for creating, reading, and managing blog posts.
- Intuitive Blog Creation: Easily write and publish blog posts using a rich Markdown editor.
- Dynamic Blog Feed: Browse a list of recent blog posts.
- Individual Blog View: Read detailed blog posts on dedicated pages.
- Responsive Design: A clean and user-friendly interface that works well on various devices.
- User Authentication: Secure login and signup for managing blog posts.
- RESTful API: A robust backend API built with Hono for handling blog data.
- Frontend:
- React
- TypeScript
- Vite (for fast development builds)
- Tailwind CSS (for styling)
react-router-dom(for routing)react-hook-form(for form management)- Axios or Fetch API (for making API calls)
- Backend:
- Hono (for the serverless/edge backend framework)
- TypeScript
- Database (Specify your database - PostgreSQL, Prisma, Prisma Accelerate
- Authentication - zod
-
Clone the repository:
git clone <your-repository-url> cd <your-project-directory>
-
Install frontend dependencies:
cd frontend # Or wherever your frontend code is located npm install # OR yarn install
-
Configure frontend environment variables:
- Create a
.envfile in your frontend root directory. - Add your backend API URL:
VITE_BACKEND_URL=<your-backend-api-url>
- Create a
-
Install backend dependencies:
cd backend # Or wherever your backend code is located npm install # OR yarn install
-
Configure backend environment variables:
- Create a
.envfile in your backend root directory. - Add your database connection details and any other necessary variables. Refer to the backend README for specific configuration.
- Create a
-
Set up the database:
- Run any necessary database migrations or setup scripts. Refer to the backend README for details.
-
Run the development servers:
-
Frontend:
cd frontend npm run dev # OR yarn dev
The frontend will typically run on
http://localhost:5173. -
Backend:
cd backend npm run dev # Or your specific backend dev command # OR yarn dev
The backend will run on its configured port.
-
Instructions for deploying your frontend and backend (e.g., to Vercel, Netlify, Cloudflare Workers, Render, etc.) would go here. This is highly dependent on your backend setup and deployment platform.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make your changes.
- Commit your changes (
git commit -m 'feat: Add your feature'). - Push to the branch (
git push origin feature/your-feature). - Create a Pull Request.
This project is licensed under the MIT License. (Create a LICENSE file in your repository if you haven't).
- Mention any libraries or resources that were particularly helpful.