For creating a new project use this command
hugo new project/new-project.md .
Just like blog post here you can also find the front matter. For creating a project item you need to declare the
type = portfolio and
draft = false.
You will see some other field for project, change this content with your content.