Example routing : http://github-blog-eta.vercel.app/nicholacostadev/github-blog
This project takes any project from the github and searches for it's issues and shows it as a blog post. For example, you can access the routes:
Ps: [...] means the website
-
.../nicholascostadev/github-blog
and it will show you the issues of the project as it was a blog post. -
.../nicholascostadev/github-blog/issues/1
will show you the issue with the id 1.
You can use it that way in any other project on github you want, just by accessing with .../[githubuser]/[githubproject]
- React with Vite
- Styled Components for styling as React components
- Axios for http requests for the github API
- React-markdown for rendering markdown as html(used for the posts)
# Clone the project
git clone https://github.com/nicholascostadev/github-blog
# Change to the project folder
cd github-blog
# Install all the dependencies
yarn
# Run the server locally
yarn dev
For you to follow the code's styling, you can run the following commands:
# For linting all files and search for inconsistencies or errors
yarn lint
# For linting all files and search for inconsistencies or errors and fix all the errors that can be automatically fixed
yarn lint:fix