api.js is created and api/ping is in