Documatic retweeted
Use Naming Conventions in JavaScript like a pro!
The most important part in your code is consistency and that is where the Naming Conventions come in handy, this helps you to name your variables, constants, booleans, functions and classes consistent all across your codebase.
Documatic retweeted
There's more to problem-solving than just writing code
⭐Understanding The problem itself
⭐Analyzing Different Solutions for the same
⭐Writing some code, breaking some stuff
⭐Testing the code, solving the bugs
⭐Writing proper explainers
And there goes your masterpiece😉
Documatic retweeted
What is the difference between using GraphQL and REST to build your API?
Let's cover some fundamentals difference between both technologies and some use cases for each.
Documatic retweeted
How do you write beautiful code? Keep is simple, keep your code DRY and try not to change things that already work.
Documatic retweeted
Once you understand APIs, it is cool to flip to documentation and learn the right way to do it.
Documatic retweeted
We spend more time reading than writing code.
So, take your time when writing documentation, even if takes longer than coding.
It means you care about the next person who has to read, use or change the code.
Bounty: Secure a meeting for me with Arash Ferdowsi, co-founder of Dropbox.
Reward: 200 USD
Deadline: 16th February, 2024.
Documatic retweeted
Every successful developer hones 2 skills to stand out:
Reading errors and understanding code
Monoliths vs. Microservices: Breaking Down Software Architectures
A comparison between 2 widely adopted software architectural approaches: Monoliths and Microservices crucial for developers, architects, and project stakeholders alike.
blog.documatic.com/monoliths…
Documatic retweeted
How do you request data from an external API in your web application?
You can certainly use the fetch API to perform this task, but there are many nuances to getting it right.
Axios, a 3rd party promise-based HTTP Client, can be a good solution.
How to use it with React?
How do you request data from an external API in your web application?
You can certainly use the fetch API to perform this task, but there are many nuances to getting it right.
Axios, a 3rd party promise-based HTTP Client, can be a good solution.
How to use it with React?
To make a request with Axios inside your React app, you need to:
- Install Axios
- Import Axios
- Create a Client
- Use the client from within a useEffect call.
And that is, you now have an incredible data request library inside your React application.
Remember to check the full-length tutorial in our blog dev.to/documatic/axios-to-co…
Documatic retweeted
If you are a Django developer looking for something beyond the traditional REST APIs to add some extra power and flexibility to your projects, integrating GraphQL might be an excellent place to start.
Let's review how to integrate GraphQL with your Django project.
If you are a Django developer looking for something beyond the traditional REST APIs to add some extra power and flexibility to your projects, integrating GraphQL might be an excellent place to start.
Let's review how to integrate GraphQL with your Django project.
Now, you can populate the DB with some testing data and head over localhost:8000/graphql, and you'll see a site that allows you to perform queries and mutations against your graphql endpoint and schema.
From here, you can set the entire CRUD operations using the schema.
Want to learn how? Check out the full-length step-by-step tutorial in our developer blog. dev.to/documatic/elevate-you…


