React
JavaScript
Next.js
TypeScript
Node.js
MongoDB
Python
CSS3
HTML5
GraphQL
Vue.js
Docker
Git
AWS
Redux
{
}
[
]
{
}
(
)
<
>
{
}
const fakeAPI = () =>
Promise.resolve({ message: "Hello from the server 🚀" });
export default function ApiDemo() {
const [msg, setMsg] = useState("...waiting");
const loadMessage = async () => {
const res = await fakeAPI();
setMsg(res.message);
};
return (
<div>
<p>{msg}</p>
<button onClick={loadMessage}>Fetch</button>
</div>
);
}
Mahfuj Ahmed
Full Stack Web Developer
I build elegant, responsive web applications with modern technologies. Focused on clean code and intuitive user experiences.