Skip to content

Latest commit

 

History

History
93 lines (80 loc) · 3.14 KB

README.md

File metadata and controls

93 lines (80 loc) · 3.14 KB

Blogly

Blogly

Blogly

Free, open-source blog management tool designed to simplify content creation and management for web applications. It provides an easy-to-use dashboard for creating and editing posts, and it seamlessly integrates with your web apps, allowing you to focus on building your projects while Blogly handles your blog management.

Simplify Blog Management in Your tool - Effortlessly integrate and manage blogs in your web app | Product Hunt

Features

  • Easy-to-Use Dashboard: Create and edit blog posts effortlessly with a user-friendly interface.
  • Seamless Integration: Integrates with your Next.js, React, or any other web app through simple API endpoints.
  • Open Source: Free and open-source, ensuring transparency and community-driven development.

Technology Stack

  • Frontend/Backend: Next js 14
  • Database: PostgreSQL
  • Host: AWS Amplify - S3

API Endpoints

Get All Blogs

GET /api/blogs

Example:

const options = {
  method: 'GET',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
};

fetch('https://blogly.co/api/blogs', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Get Specific Blog

GET /api/blogs/{id}

Example:

const options = {
  method: 'GET',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
};

fetch('https://blogly.co/api/blogs/{id}', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Contributing

We welcome contributions to Blogly! If you'd like to help improve the platform, please fork the repository and create a pull request with your changes. Ensure that your code adheres to our coding standards and includes relevant tests

  1. Clone the repository
  2. Install packages: npm install
  3. Set up the environment variables: 3. set up .env
    NEXTAUTH_URL="http://localhost:3000"
    AUTH_TRUST_HOST=http://localhost:3000
    AUTH_URL=http://localhost:3000
    AUTH_GITHUB_ID=....
    AUTH_GITHUB_SECRET=....
    AUTH_SECRET=....
    AUTH_GOOGLE_ID=....
    AUTH_GOOGLE_SECRET=....
    DRIZZLE_DATABASE_URL=....
    S3_NAME= ...
    S3_REGIN= ...
    IAM_KEY=....
    IAM_SECRET=....
    API_SECRET=....
  4. Run the app: npm run dev