efraa / pokedex

Home Page:https://documenter.getpostman.com/view/7831505/SVtWvmoc?version=latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokedex πŸš€

cover

Requirement πŸ“Œ


  • NodeJS

This repository depends on the successful installation of the API
Back end in the repository located PokedexAPI.


Development and running the application: πŸ“Œ


  1. Clone
  2. Move to --> cd pokedex
  3. copy .default.env to .env
  4. Run npm install
  5. Be sure to run the API on your machine.

Env variables: πŸ“Œ


  • API_URL : URL base of your API. --> http://localhost
  • API_PORT : API PORT --> default 2302
  • API_PREFIX_ROUTES : default --> /api/v1

IMPORTANT NOTE: πŸ“Œ


Make sure the following values ​​are the same in your API.

  • TOKEN_EXPIRE : Copy from your API --> default 72h
  • SECRET : Copy from your API --> example: secret-pokedex-api

Ready πŸ“Œ


Run npm start

Runs the app in the development mode.
Your browser will open in http://localhost:3000.