Skip to content

A Full-Stack React App with an Path of Exiles Divination card API that showcases different cards.

Notifications You must be signed in to change notification settings

mikifriki/Divination-Cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image

Short intro

This is an API I made with node for getting all the data of current Path of Exile divination cards into one convenient place without extra fluff and to show off the beautiful art style of the cards. The front-end of this is made with React.js

Install dependencies for server and client with

npm install
npm run client-install respectively

Start project with

To start the server and client use:

npm run start-all

To start both in Development mode run:

npm run start dev

API endpoints

By default the linked website leads to the front-end I built with with React so showcase the Api.

Going to /api/cards/all shows all the cards that are currently in the API.

Going to /api/cards shows the first 20 cards by default. Changing it to /api/cards?page=1&size=12 paginates the data and allows you to change how many items are shown per page.

And to go to a specific card id there is /api/cards/:id (replace :id with desired number)

Built With

  • Node.js - Used as the base for the server.
  • React.js - Used for the front-end of this project.
  • Express.js - Used for the api portion.
  • Cheerio.js - For data scraping from websites.
  • lowdb - Used for a JSON based database.
  • And some other minor dependencies.

About

A Full-Stack React App with an Path of Exiles Divination card API that showcases different cards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published