How is an Epic different from a User Story? code example

Example: epic vs story

Epic is basically biggest user stories.
It is almost everything about one project.

user stories,” are short requirements or requests
written from the perspective of an end user

EPIC Example--
AS CUSTOMER I SHOULD BE ABLE TO BUY FROM AMAZON,
SO I DON'T HAVE TO GO TO LOCAL STORES.

Basically this epic example is everything about amazon.com
It includes like login, logout,
search, basket, shipping etc. functionalities

STORY EXAMPLE--
As an authorized user I should be able to
see my dashboard.

Tags:

Misc Example