https://github.com/gitlherme/pokemon-api
https://github.com/gitlherme/pokemon-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gitlherme/pokemon-api
- Owner: gitlherme
- Created: 2024-08-06T23:58:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T19:31:29.000Z (11 months ago)
- Last Synced: 2025-01-10T21:48:39.801Z (6 months ago)
- Language: TypeScript
- Homepage: https://pokemon-api-0r35.onrender.com/
- Size: 184 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pokemon Abilities API
This is a project created to display the pokémon abilities ordered by name alphabetically.You can see this project running LIVE [here](https://pokemon-api-0r35.onrender.com/pokemons/pikachu).

---## Tech Stack
- NestJS
- Docker
- docker-compose
- Github Actions
- Jest
- class-validator
- Swagger
---## Endpoints
`/pokemons/{name}` - Return the pokemon info;
`/api` - Return the swagger documentation;
---
## How to run
First of all, please clone this repo on your local machine.
```bash
git clone https://github.com/gitlherme/pokemon-api.git
```Install the dependencies
```bash
pnpm install
```### Development environment
To see the development mode, use
```bash
pnpm run start:dev
```The project will be started on your [http://localhost:3000](http://localhost:3000)
---
### Production environment
To see the production mode, use
```bash
pnpm run start:prod
```
---### Docker
You can also build using Docker. For this, run `docker-compose up -d`, inside the root folder.*
*: needs to have Docker and docker-compose installed.
---
## How to test
To see results of unit tests use
```bash
pnpm run test
```
or if you want also see the coverage, run
```bash
pnpm run test:cov
```