Updated API_ENDPOINT to default to localhost:3001 for development.