Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.
/ mrvl-desktop Public archive

🧚 (Download) (15-Jun-2023) Browse and manage your favourite Marvel Comics. ElectronJS, ReactJS 18.

Notifications You must be signed in to change notification settings

kkamara/mrvl-desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

marvel-moving

mrvl-desktop4.png

mrvl-desktop.png

mrvl-desktop2.png

mrvl-desktop3.png

mrvl-desktop

(15-Jun-2023) Browse and manage your favourite Marvel Comics. ElectronJS, ReactJS 18.

Download

Code snippet

/** 
 * Return searchable paginated characters api response
 * @param {array} ids
 * @return {Promise}
 */
async getFavComics(ids) {
  const promises = []
  let comics = []

  for (const id of ids) {
    promises.push(new Promise(async resolve => {
      const comic = await this.getComic(id)
      resolve(comic.data.data.results[0])
    }))
  }

  await new Promise((resolve, reject) => {
    Promise.all(promises).then(data => 
      comics = data
      resolve()
    })  
    .catch(err => { throw err })
  })  
  return comics
}

Installation

  npm install
  cp .env.example .env

Usage

  npm start

Building target: your machine

  npm run build

Building target: cross-platform

  # --linux --win --mac --x64 --ia32
  npm run release

Misc

See MRVL Web.

Complete MRVL web app now in desktop (all functionality available) #1.

Each Marvel API key (see environment variables) has a request limit of 3000/day.

See ReactJS Boilerplate.

See PHP Scraper.

See NodeJS ReactJS Boilerplate.

See PHP ReactJS Boilerplate.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD

About

🧚 (Download) (15-Jun-2023) Browse and manage your favourite Marvel Comics. ElectronJS, ReactJS 18.

Topics

Resources

Stars

Watchers

Forks