{"id":19357772,"url":"https://github.com/chris-nowicki/in-browser-markdown-editor","last_synced_at":"2026-04-14T05:31:15.426Z","repository":{"id":139051960,"uuid":"581429595","full_name":"chris-nowicki/in-browser-markdown-editor","owner":"chris-nowicki","description":"In-Browser Markdown Editor","archived":false,"fork":false,"pushed_at":"2024-01-16T18:58:08.000Z","size":1789,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T11:49:42.087Z","etag":null,"topics":["auth0","markdown","markdown-editor","mongodb","mongoose","nextjs","react","reactmarkdown","remark","sass","typescript","vercel-deployment","webapp"],"latest_commit_sha":null,"homepage":"https://markdown.chrisnowicki.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chris-nowicki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-23T06:51:31.000Z","updated_at":"2023-05-11T03:23:25.000Z","dependencies_parsed_at":"2025-02-24T11:44:02.540Z","dependency_job_id":"d6933269-2dc1-4ad0-a13e-23a05a220b0c","html_url":"https://github.com/chris-nowicki/in-browser-markdown-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chris-nowicki/in-browser-markdown-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-nowicki%2Fin-browser-markdown-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-nowicki%2Fin-browser-markdown-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-nowicki%2Fin-browser-markdown-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-nowicki%2Fin-browser-markdown-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chris-nowicki","download_url":"https://codeload.github.com/chris-nowicki/in-browser-markdown-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris-nowicki%2Fin-browser-markdown-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth0","markdown","markdown-editor","mongodb","mongoose","nextjs","react","reactmarkdown","remark","sass","typescript","vercel-deployment","webapp"],"created_at":"2024-11-10T07:09:07.732Z","updated_at":"2026-04-14T05:31:15.406Z","avatar_url":"https://github.com/chris-nowicki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - In-browser markdown editor solution\n\nThis is a solution to the [In-browser markdown editor challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/inbrowser-markdown-editor-r16TrrQX9). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n## Table of contents\n\n-   [Overview](#overview)\n    -   [The challenge](#the-challenge)\n    -   [Screenshots](#screenshots)\n    -   [Links](#links)\n-   [My process](#my-process)\n    -   [Built with](#built-with)\n    -   [What I learned](#what-i-learned)\n    -   [Continued development](#continued-development)\n    -   [Useful resources](#useful-resources)\n-   [Author](#author)\n\n## Overview\n\nI am continuing to work on projects to showcase on my [portfolio](https://www.chrisnowicki.io). As usual, [Front End Mentor](https://frontendmentor.io) came through with this awesome _In-Browser Markdown Editor Project_. This is the first project for front end mentor that I made as a full-stack app.\n\n### The challenge\n\nUsers should be able to:\n\n-   Create, Read, Update, and Delete markdown documents\n-   Name and save documents to be accessed as needed\n-   Edit the markdown of a document and see the formatted preview of the content\n-   View a full-page preview of the formatted content\n-   View the optimal layout for the app depending on their device's screen size\n-   See hover states for all interactive elements on the page\n-   **Bonus**: If you're building a purely front-end project, use localStorage to save the current state in the browser that persists when the browser is refreshed\n-   **Bonus**: Build this project as a full-stack application\n\n### Screenshots\n\n![](./screenshot-1.png)\n![](./screenshot-2.png)\n![](./screenshot-3.png)\n\n### Links\n\n-   Solution URL: [https://www.frontendmentor.io/solutions/inbrowser-markdown-editor-Gnsq5zFSff](https://www.frontendmentor.io/solutions/inbrowser-markdown-editor-Gnsq5zFSff)\n-   Live Site URL: [https://markdown.chrisnowicki.io](https://markdown.chrisnowicki.io)\n\n## My process\n\nI took a similar approach from the [Pomodoro App](https://github.com/chris-nowicki/pomodoro-app) that I recently created.\n\n1. Create the markdown edit/preview functionality.\n2. Create the remaining functionality with styling.\n3. Add in authorization and connection to MongoDB.\n\n### Built with\n\n-   [NEXT.js](https://nextjs.org/)\n-   [React Markdown](https://github.com/remarkjs/react-markdown)\n-   [remark-gfm](https://github.com/remarkjs/remark-gfm)\n-   [auth0](https://auth0.com/)\n-   [MongoDB](https://www.mongodb.com/)\n-   [TypeScript](https://www.typescriptlang.org/)\n-   [Sass](https://sass-lang.com/)\n-   Deployed on [Vercel](https://www.vercel.com)\n\n### What I learned\n\nFor this project I really wanted to focus on authorization using other than _user name_ and _password_. I chose the auth0 library because they had a very nice [SDK](https://auth0.com/docs/quickstart/webapp/nextjs/01-login) developed for NEXT.js and configured it to authorize using Google and GitHub.\n\nThis made implementing the authentication routes fairly simple by adding an _/auth_ directory and then a _[...auth0].js_ file with the following code which provides the _api/auth/login_, _api/auth/logout_, and _api/auth/callback_ routes required by auth0:\n\n```javascript\nimport { handleAuth } from '@auth0/nextjs-auth0'\n\nexport default handleAuth()\n```\n\nOnce I got the routes setup it was a bit challenging, at first, to configure auth0 with the appropriate links to operate in the development environment _localhost:3000_. Other than that the SDK provided everything I needed to access the logged in users information.\n\n### Continued development\n\nI'd like to continue to play around with NEXT.js. It's a rad React Library that doesn't require you to install a separate server.\n\n### Useful resources\n\n-   [Auth0 NEXT.js SDK](https://auth0.com/docs/quickstart/webapp/nextjs/01-log)\n\n## Author\n\n-   Website - [https://www.chrisnowicki.io](https://www.chrisnowicki.io)\n-   Frontend Mentor - [@chris-nowicki](https://www.frontendmentor.io/profile/chris-nowicki)\n-   Twitter - [@iamwix](https://www.twitter.com/iamwix)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-nowicki%2Fin-browser-markdown-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris-nowicki%2Fin-browser-markdown-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-nowicki%2Fin-browser-markdown-editor/lists"}