docs(api): improve readme
This commit is contained in:
parent
e0439a8572
commit
335a185075
@ -1,5 +1,31 @@
|
|||||||
# Cookie Monster Dialog API
|
# Cookie Monster Dialog API
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Make sure you have [Node.js](https://nodejs.org/) (version 20.x) and [Yarn](https://yarnpkg.com/) installed.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn install
|
||||||
|
```
|
||||||
|
|
||||||
|
## Scripts
|
||||||
|
|
||||||
|
### `yarn build`
|
||||||
|
|
||||||
|
Removes the build directory and compiles TypeScript files.
|
||||||
|
|
||||||
|
### `yarn dev`
|
||||||
|
|
||||||
|
Starts the server in development mode with nodemon.
|
||||||
|
|
||||||
|
### `yarn lint`
|
||||||
|
|
||||||
|
Lints the codebase using ESLint.
|
||||||
|
|
||||||
|
### `yarn start`
|
||||||
|
|
||||||
|
Starts the API server instance in production mode.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
||||||
|
Loading…
Reference in New Issue
Block a user