TrendTales is a modern, fully-featured blogging platform designed for sharing your stories, ideas, and insights with the world. Built with a focus on performance and scalability.
- React: A powerful JavaScript library for building user interfaces. TrendTales uses React as the frontend framework to create dynamic, interactive, and responsive pages.
- TypeScript: A statically typed superset of JavaScript, providing better tooling, error detection, and code quality. The entire frontend is written in TypeScript for maintainability and scalability.
- Hono: A fast and lightweight web framework for TypeScript/JavaScript, designed to work with various serverless platforms. Hono powers the backend of TrendTales, handling API requests, authentication, and data management efficiently.
- TypeScript: The backend is also fully written in TypeScript, ensuring consistency across the codebase and enhancing developer productivity.
- Cloudflare: TrendTales is deployed on Cloudflare, taking advantage of its global network to ensure fast load times and robust security. Both the frontend and backend are optimized to run efficiently on Cloudflare's edge infrastructure.
- Responsive Design: The site is fully responsive, providing an optimal experience on desktops, tablets, and mobile devices.
- Rich Text Editor: Write and format your blog posts with an easy-to-use rich text editor.
- User Authentication: Secure user authentication system, allowing users to sign up, log in, and manage their blog posts.
- API-Driven: The backend provides a RESTful API for all operations, enabling easy integration with other services or platforms.
- SEO Friendly: Built with SEO in mind, ensuring your content is easily discoverable by search engines.
- Fast and Secure: Hosted on Cloudflare, leveraging edge computing for minimal latency and strong security protections.
- Node.js: Ensure you have Node.js installed on your machine.
- Cloudflare Account: Required for deployment and managing your site.
-
Clone the repository:
git clone https://github.com/vikash2411/TrendTales.git
-
Navigate to the frontend directory:
cd TrendTales/frontend
-
Install frontend dependencies:
npm install
-
Navigate to the backend directory:
cd ../backend
-
Install backend dependencies:
npm install
-
Frontend: Start the React development server.
cd frontend npm run dev
The frontend will be available at
http://localhost:3000
. -
Backend: Start the Hono backend server.
cd backend npm run dev
The backend API will be available at
http://localhost:8787
.
TrendTales is deployed using Cloudflare. You can deploy both the frontend and backend by following these steps:
-
Frontend Deployment:
- Navigate to the frontend directory:
cd frontend
- Build the frontend for production:
npm run build
- Deploy to Cloudflare Pages or Workers:
Follow Cloudflare's documentation for detailed instructions.
-
Backend Deployment:
- Navigate to the backend directory:
cd backend
- Deploy to Cloudflare Workers:
npm run deploy
Follow Cloudflare's documentation for more information.
We welcome contributions! If you'd like to contribute to TrendTales, please fork the repository, create a new branch, and submit a pull request. Make sure to follow the existing coding standards and write tests for any new features.
TrendTales is licensed under the MIT License. See the LICENSE file for more details.
For any questions or feedback, feel free to open an issue on GitHub or contact the maintainer:
- Vikash: GitHub Profile