Skip to content

An overly complex Pokédex web application built using React and NodeJS.

Notifications You must be signed in to change notification settings

JulienParis26/cx-react-pokemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokedex-React-App

Title

Let's talk about Pokemons with NodeJS and React.

Utilisation (step by step)

1. In a first shell, open the server folder.
$ cd server
$ npm install
2. In a second shell, open the client folder.
$ cd client
$ npm install
3. To seed the database :
$ cd server
$ npm run seed
4. To start the server, open the server folder.
$ cd server
$ npm run server <port>
5. To start the client, open the client folder.
$ cd client
$ npm run start

⚠️ If you have an error like: Module not found: Can't resolve 'react-router-dom'.

$ cd client
$ npm install -S react-router-dom

Routes utilisation

Method Route Description
GET /pokemons this should respond with a list of all pokemons.
GET /pokemons/:id this route should display a single pokemon's found on the daily pokedex.json
POST /pokemons/:nom this route should add a new pokemon on the pokedex.
DELETE /pokemons/:id this route should allow you to delete a specific pokemon

Demo

demo

About

An overly complex Pokédex web application built using React and NodeJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published