(15-Jun-2023) Browse and manage your favourite Marvel Comics. ElectronJS, ReactJS 18.
/**
* 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
}
npm install
cp .env.example .env
npm start
npm run build
# --linux --win --mac --x64 --ia32
npm run release
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 NodeJS ReactJS Boilerplate.
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.