Check the contract first
Most employment contracts contain an exclusivity or outside-interests clause requiring consent, and many contain intellectual property clauses that could give your employer rights over what you build on your own time if it overlaps with their business.
Ask for written consent. Directorships are public on Companies House, so an undisclosed company is easily found.






