<!-- Source: https://www.wappi.dev/getting-started -->

# Create a full API in 2 minutes

## 1. Create Your First Project

```bash
npx wappi init
```

Follow the prompts

## 2. Start Development Server

```bash
npx wappi run
```

Will output something like this:

```typescript
⨁ WAPPI 2.0.13

 ✓  Compiled 27 endpoints in 263ms 
 ✓  Ready in 2.3s
 ✓  Watching all changes in the API folder

... -.- .. .--.
 ✓  Compiled and Ready
... -.- .. .--.
  Environment : localhost
  Show Logs   : true
  Auth Cron   : 1  day
  Auth Start  : Fri Jun 27 2025 11:53:40 GMT+1000 (Australian Eastern Standard Time)

  WAPPI       :  http://localhost:3030
.-- .- .--. .--. ..

 ↻  Compiling changes
 ✓  Compiled changes in 461ms
 ✓  Types compiled and synced to: ["/Users/Sites/my_app/src/API"]
```

Your API will be available at the port you specified in the setup [http://localhost:3030](http://localhost:3030/healthcheck)

## 3. Create Your First Endpoint

```bash
npx wappi create
```

This creates a new endpoint template.

## 4. Test Your Endpoint

```bash
npx wappi test Core_Login_1_0_0
```

This will run a test on the code in the Core Login endpoint.
Change the name of the endpoint to test another endpoint.

URL: https://www.wappi.dev/getting-started
