A simple Markdown note-taking app made in Node.js, Express, MongoDB and EJS.
- How to render the frontend in the server and send it to the browser (I used EJS and Bootstrap to build the view)
- How to configure the server to connect with MongoDB Atlas via Mongoose
- How to convert Markdown to HTML with Marked and sanitize HTML with DOMPurify and jsdom
- How to use pre hook validation
- How to work around pre hooks for updates
- How to use the HTTP methods PUT and DELETE in a HTML form with method-override
- How to set up a database limit
- How to deploy to Heroku
- Create a new note
- Edit a note
- Delete a note
- Markdown support
- express
- mongoose
- ejs
- marked
- method-override
- dompurify
- jsdom
- dotenv
- Authentication and authorization
- Increase the number of notes a user can create
- Pagination
If you want to learn how to create this API from scratch, please read my post.
This project uses the MIT License.