lijiaxingogo / ideal-parakeet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pikapika

Installation

  1. Clone the repo
git clone https://github.com/lijiaxingogo/ideal-parakeet.git
  1. Set enviornment variable for frontend and backend
cd frontend
touch .env

Please add
REACT_APP_SERVER = 'http://localhost:4000/pokemon'
in .env file.

cd server
touch .env

Please add
PORT=4000
FRONTEND="http://localhost:3000"
SERVER="http://localhost:4000"
in .env file.

  1. NPM Install:
    Start frontend(please make sure port 3000 is available):
cd frontend
npm i
npm run start

Go to http://localhost:3000/ on your browser.
Start backend:

cd backend
npm i
npm run dev
  1. Run test:
cd backend
npm run test

Data Source

https://pokeapi.co/

Free feel to contact me at jiaxin.li.gogo@gmail.com for any issues. Thank you!

About


Languages

Language:JavaScript 86.2%Language:HTML 13.1%Language:CSS 0.8%