Create .env.local in your root directory and add api url as follows: API_URL=http://localhost:8080 Api Project Repo: https://github.com/mehrabix/java-springboot-todo-list-h2db