I’ve always wanted to write my own blog. It seemed like a great experience, sitting down once in a while and write a new blog-post. But I’m not that type of person that can commit himself to write.
This seems like a great idea, I can document my learning process and share it with myself and the world.
Creating my own blog — From scratch.
Writing my blog on medium is nice, but I want to distance myself from social networks. Why? Because I want to be able to express myself exactly as I want without needing to worry about licensing or inappropriate content.
This is ironic, because this post is on Medium, but I’m talking about me not wanting it to be here. That’s because my blog isn’t built yet. I’ll be writing about that process in the following posts. Then, I’ll migrate over there — For now, Medium.
Planning & choosing frameworks:
Before I begin to write my blog, I need to think about what frameworks I’ll use to write it. So here it is:
- React — It’s my de facto way of writing any kind of website, so I’ll stick to that.
- Redux — I’ve always wanted to learn it and I think this is a good enough opportunity.
- Travis-CI — To constantly upload the code to GitHub Pages.
- Jest+Enzyme — Writing tests for my components.
First of all, I need a repository for my blog where I can push the changes regularly:
My personal blog, build with React. Contribute to Jelomite/blog development by creating an account on GitHub.
Now, let’s create a simple
create-react-app and add the following .eslintrc.js:
This will be our eslit config file, later we can add more stuff to it, but for now, that’ll do. let’s add in the
package.json the linting files option and run it on our code:
lint: "eslint --fix src/**/*.js"
Now that the code is linted to my liking I can start writing my own components. But this will be in the next post.
Stay tuned and don’t forget to star the repository.