Skip to content

rmartin93/pokedex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Pokédex!

Welcome to my super simple pokedex using React and JSON Server :)

What is used?

This project uses React for the frontend and JSON Server for a super simple example backend

How to start it up

First, open your favorite editor and clone the repo

You'll need two terminals open

Navigate to the project folder in your terminal and run npm install to download all the needed dependencies

Then run npm start to get the React App running on http://localhost:3000

In the other terminal, you can do npx json-server --watch data/db.json --port 9000

That will run JSON Server on port 9000 and have it look at the db.json file in the data folder

After that you should be good to go!

Styles

If you want to edit the styles, I put all of them in a styles folder and used Sass

You'll need another terminal open, and you can run sass --watch src/styles/scss:src/styles/css

Note

I wrapped the useFetch hook in a 5 second setTimeout so that you can see the little charmander loading gif. Was it necessary? Absolutely.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors