Created REST api using mongoose for projects