This project is a simple blog created from Markdown files. It watches the files for changes, deletes and for newly created md files.
- Install dependencies.
npm install
- Create an
.env
file at the project root and use contents from the.env.example
to populate it. - Run the app
npm start
- View it at
http://localhost:3002
Populate the /posts
folder with .md
files that contains valid Markdown syntax
- MD to HTML: showdown
- cache: node-cache
- file watcher: chokidar
- template engine: ejs
- DI tool: typedi