Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/renatoosaka/pokedex


https://github.com/renatoosaka/pokedex

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Pokédex

This repository is a template for a Pokédex application. It contains a server-side
REST API built using [NestJS](https://nestjs.com) and a client-side single-page
application built in [Angular](https://angular.dev).

## Prerequisites

- [Node.js v20](https://nodejs.org/en)

## Setup

1. Clone the repository.
2. Install dependencies:
```shell
cd /path/to/cloned/pokedex/
cd api/
npm install
cd ../app/
npm install
```

## Run

In two separate shells, start the API and app:

```shell
cd api/
npm run start
```

```shell
cd app/
npm run start
```

Both the API and app will rebuild as changes are made to them.

## Docker

To run the project with docker.

```shell
docker compose build
docker compose up
```

- to access the front end http://localhost:8080
- to access the backend http://localhost:300/swagger

## Tests

To run the tests on both the frontend and backend

```shell
yarn test:e2e
```