How to enable api into js-ipfs

Hello guys,

i try to run a ipfs instance into js-ipfs for my need i need to enable api and webui when i run ipfs node here you can find my current code

const IPFS = require('ipfs')
const node = await IPFS.create({config:{Addresses:{API:'/ip4/'}}

but we i try to curl my not application seems listen on that.

Any idea ?