This project started as a simple challenge presented by Rocketseat, but it evolved into something much larger, where it was able to provide many teachings and ideas for future projects.
Initially, it consisted of a blog that would use open issues in the GitHub repository to generate publications. I took that as a basis and transformed it into creating files on GitHub and generating posts from that.
So there are two repositories:
- Dicebugging: Responsible for the source code;
- Dicebugging posts: Responsible for storing the posts.
GitHub Actions were implemented to synchronize files between repositories. Contentlayer handles the entire process of building MDX files on server side, so the client doesn't have to deal with it.
- Display posts
- Create post
- SEO optimization
- Display time it takes to read dynamically
- Profile page
- Pretty code block formatting
- Responsiviness
- Build markdown pages with Contentlayer
- Get link to headings on posts
- Image optimization
- Change theme
- Display date and time to read on post
- Post label
- Make it a template
This project is licensed under the MIT license. Feel free to edit and distribute this template as you like.
See LICENSE for more information.