In the wikipedia article shown below, it says $A(x)$ represents the area beneath the curve $y=f(x)$ between $0$ and $x$.
Then it says $f(x)=A'(x)$, i.e. $A(x)=\int f(x)dx$
which means $\int f(x)dx$ represents the area beneath the curve $y=f(x)$ between $0$ and $x$.
I think there is nothing wrong up to here.
Now if we put $f(x)=e^{x}$ then $A(x)=e^{x}$ and at $x=0$, $A(x)=e^{0}=1$
That is, the area $A(x)$ beneath the curve $y=f(x)$ between ($0$ and $x=0$) is $1$.
Now how can we get non-zero area when we find the area between same points (i.e. $0$ and $0$)