Skip to content

REST API built in TS.ED using markdown files to serve content

Notifications You must be signed in to change notification settings

gosoft-co/markdown-serve

Repository files navigation

Markdown Serve

REST API built in TS.ED using markdown files to serve content

The purpose of this project is to create an api for the creation and edition of the markdown files of the content/ and archetypes/ directories

Install

npm install

Run server

npm run start

API

content/:contentType

GET

http://localhost:3000/api/v1/content/blog output: [{post1}, {post2}, {etc}, {etc}]

POST

http://localhost:3000/api/v1/content/blog/my-first-post

Body

{
	"attributes": {
		"title": "My first post",
		"description": "Post description",
		"draft": false
	},
	"body": "#New Post - My first post"
}

About

REST API built in TS.ED using markdown files to serve content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published