Modify api and add nodemon to package.json