UUPS Proxies: Tutorial (Solidity + JavaScript)

You can find examples of factory contracts in this thread: