Local and global solutions for a nonlinear Dirac system