You can use droids in combat just like NPCs, and some can keep your ship travelling if you board a docked entity (if they have piloting skills).
You can gain XP through flying or bandit/creature combat pretty quickly, and the latter is probably more fun than the former. Getting a job with a faction will certainly give you tasks to complete that earn you credits and XP at the same time.