Yeah this is what I'm unsure of as it steps into the legal side of things.
In general though, doesn't it make sense to not create a free competitor right after leaving your employer? They may have a case regarding stealing trade secrets given that they did give you access to their codebase and daily ops.