Home

Awesome

PersonalBlog API

The PersonalBlog API serves as the backend for the stylish React blog template available at myblog. This template was originally cloned from tailwind-nextjs-starter-blog by timlrx. While the original template utilized MDX parsing, this version has been adapted to function as an API, providing support for various features necessary for a personal blog.

Features

This API provides several common endpoints and functionalities that support the myblog template:

Getting Started

Step 1: Create a MongoDB Atlas Database

To get started, you'll need to set up a MongoDB Atlas database. Follow these steps:

Step 2: Configure Secrets

In the project, you'll need to configure various secrets, including user secrets used for token-based authorization. Here's what you need to do:

 "MongoSettings": {
    "MongoConnection": "See user Secret",
    "Password": "See user Secret",
    "DatabaseName": "see user secret",
    "PostCollectionName": "see user secret"
  },
  "JwtSettings": {
    "SecretKey": "See user Secret",
    "Issuer": "See user Secret",
    "Audience": "see user secret",
    "UserSecret": "see user secret"
  }

Deploy

I have used Azure web apps free forever version for deployment of this application.

By following these steps, you'll have your PersonalBlog API ready to serve your blog template. With token-based authorization and the ability to manage blog posts and tags, you can create and maintain your own personal blog with ease. Enjoy the benefits of deploying your blog while utilizing free resources.