# Use and adapt backend-main

Use the documented interfaces and source layout for **backend-main**. The sections below retain the README’s examples and configuration details.

## Development

```
npm run dev
```

## Commands in the root manifest

The captured [package.json](https://github.com/Up-to-code/backend-main/blob/HEAD/package.json) declares the following scripts. Run them from the directory containing that manifest.

| Command | Script |
| --- | --- |
| `npm run start` | `ts-node src/index.ts` |
| `npm run dev` | `nodemon` |
| `npm run build` | `tsc` |
| `npm run lint` | `eslint --fix src test` |
| `npm run test` | `jest` |
| `npm run typecheck` | `tsc --noEmit` |

## Troubleshoot a local change

1. Reproduce the smallest example from the [quick-start guide](/docs/up-to-code-backend-main/quick-start-guide).
2. Compare required configuration and dependency versions with the README.
3. Check the linked issue tracker for the same error. Include the command, runtime version, and relevant error when reporting a problem; omit credentials.

## Source and help

- [GitHub repository](https://github.com/Up-to-code/backend-main)
- [Original README](https://github.com/Up-to-code/backend-main/blob/main/README.md)
- [Issues and existing reports](https://github.com/Up-to-code/backend-main/issues)
