Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agustinallamanocosta/poke-app
Challenge for CookUnity Interview
https://github.com/agustinallamanocosta/poke-app
Last synced: 4 days ago
JSON representation
Challenge for CookUnity Interview
- Host: GitHub
- URL: https://github.com/agustinallamanocosta/poke-app
- Owner: AgustinAllamanoCosta
- License: mit
- Created: 2024-05-16T11:02:37.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T01:01:50.000Z (7 months ago)
- Last Synced: 2024-05-22T02:14:24.610Z (7 months ago)
- Language: TypeScript
- Size: 384 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# POKEMON APP
## Challenge for CookUnity Interview
## Dependencies:
* Docker
* Docker-Compose
* Yarn o NPM## Instruction to run the App in local mode:
To launch the app, you first need to generate the corresponding .env files in each subdirectory, then install the dependencies, build each of the apps (back/front), and execute the docker-compose file located in the root of the repository.
## FRONT
inside the front folder
create .env with:
```
VITE_BACK_URL="http://localhost:8081"
VITE_CLIENT_ID="646052871871-q384tfipbd4634bgfchva188d1cmi29b.apps.googleusercontent.com"
```and run
NPM
```
npm run docker:build
```YARN
```
yarn docker:build
```## BACK
inside the back folder
create .env with:
```
app_environment="LOCAL"
POSTGRES_PASSWORD=‘admin’
POSTGRES_USER=‘admin’
POSTGRES_DB='poke-db'
POSTGRES_HOST='localhost'
POSTGRES_PORT=5432
AUTH=0
OAUTH_CLIENT=''
```and run
NPM
```
npm run docker:build
```YARN
```
yarn docker:build
```## Root folder
run
```
docker-compose up
```
## URL Prod:## https://poke.agustinallamanocosta.com/
## Backend documentation
## https://pokeback.agustinallamanocosta.com:8080/api#/