[SOLVED] Deploy smart contract using javascript

Hi, I would like to allow my user to deploy their own erc721 token smart contract from my web app. Is it possible to deploy using javascript ? something like remix.ethereum website.

You can use hardhat to compile and deploy smart contract using nodejs.

I guess it is not possible with client side app.

found the solution already.

my backend will use solc solidity compiler to get the bytecode and deploy the bytecode using web3js (html frontend).