If I’m using dynamodb would I still be able to utilize repositories. Can I use one and not the other ? Can I use both of them ?

--- Update ---

If I am also building a front end to my program would I implement my code through my front end files or would I run my program in main ?