This markdown blog is built with Node.js Express and MongoDB Atlas, and runs in a Docker container. Users can get blog posts from the MongoDB cluster, and post new articles, update and delete them.
git clone [email protected]:hannahkim7605/markdown-blog.git
cd markdown-blog
docker build -t markdown-blog .
docker run -p 5000:8080 -d markdown-blog
The blog is available at http:/localhost:5000.
Reference:
- How To Build a Markdown Blog Using Node.js, Express, And MongoDB by Web Dev Simplified (https://www.youtube.com/watch?v=1NrHkjlWVhM)
- https://www.npmjs.com/package/nodemon
- https://zellwk.com/blog/crud-express-mongodb/
- https://ejs.co/#docs
- https://stackoverflow.com/questions/23259168/what-are-express-json-and-express-urlencoded/51844327
- https://www.npmjs.com/package/dotenv
- https://github.com/jsdom/jsdom
- https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
- https://docs.docker.com/engine/reference/commandline/run/