Skip to content

efraa/pokedex

Repository files navigation

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.