Files
pear-docs/guide/starting-a-pear-terminal-project.md
2024-01-24 22:06:09 +01:00

19 lines
351 B
Markdown

# Starting a Pear Terminal Project
## Step 1. Init
First create a new project using `pear init`.
```
mkdir chat-bot
cd chat-bot
pear init --yes
```
This creates the base project structure.
- `package.json`. App configuration. Notice the `pear` property.
- `index.js`. App entrypoint.
- `app.js`. Main code.
- `test/index.test.js`. Test skeleton.