Markdown Blog
Motivation
I wanted to learn NextJS for a few months. Now the time have come and I created a server for displaying markdown blog posts. So this is my first project using NextJS.
When noticing the new appwrite hackathon, I decided to add a feature to store your markdown post files in a appwrite database.
Installation and usage
Prerequisites
If you are planning to add posts via the Appwrite Database capability, you need to have a Appwrite instance running on your local machine or on a server.
Files should be stored in a bucket in the storage and their ids must match the file name in order to be found!
Configuration
-
configuration.json
inconfig
- Example AppwriteDB
"appwriteDatabase": {
"url": {
"host": "localhost"
"port": 3000
},
"projectId": "YOUR_PROJECT_ID",
"postBucketId": "YOUR_POST_BUCKET_ID",
"apiKey": "YOUR_API_KEY
…
Looks great!