Skip to content

koko1313/react-js-api-games-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Games library

Games library, using external API

API used: RAWG Video Games Database API (v1.0)

Π—Π°Π΄Π°Π½ΠΈΠ΅

- НамиратС (ΠΈΠ»ΠΈ ΠΈΠ·Π³Ρ€Π°ΠΆΠ΄Π°Ρ‚Π΅ своС) API ΠΊΠΎΠ΅Ρ‚ΠΎ Π΄Π° Π²Ρ€ΡŠΡ‰Π° някаква информация.

- Π˜Π·Π³Ρ€Π°ΠΆΠ΄Π°Ρ‚Π΅ HTML страница ΡΡŠΠ΄ΡŠΡ€ΠΆΠ°Ρ‰Π° Ρ„ΠΎΡ€ΠΌΠ° с ΠΏΠΎΠ»Π΅Ρ‚Π° ΠΊΠΎΠΈΡ‚ΠΎ сС ΠΈΠ·ΠΏΠΎΠ»Π·Π²Π°Ρ‚ Π·Π° ΠΈΠ·ΠΏΡ€Π°Ρ‰Π°Π½Π΅ Π½Π° заявка към API-Ρ‚ΠΎ ΠΊΠΎΠ΅Ρ‚ΠΎ стС Π½Π°ΠΌΠ΅Ρ€ΠΈΠ»ΠΈ Π² Ρ‚.1. Вочния Π²ΠΈΠ΄ Π½Π° Ρ„ΠΎΡ€ΠΌΠ°Ρ‚Π° ΠΈ Π½Π΅ΠΉΠ½ΠΈΡ‚Π΅ ΠΏΠΎΠ»Π΅Ρ‚Π° опрСдСлятС Π²ΠΈΠ΅, Π½ΠΎ Π·Π°Π΄ΡŠΠ»ΠΆΠΈΡ‚Π΅Π»Π½ΠΎ Π΄Π° ΠΈΠΌΠ° Π½Π°Ρ‡ΠΈΠ½ Π·Π° опрСдСлянС Ρ‚ΠΎΡ‡Π½ΠΎ Π½Π° ΠΊΠ°ΠΊΠ²Π° информация Π΄Π° бъдС Π²ΡŠΡ€Π½Π°Ρ‚Π° ΠΎΡ‚ външния ΡΡŠΡ€Π²ΠΈΡ(Ρ‚ΠΎΠ²Π° ΠΌΠΎΠΆΠ΅ Π΄Π° станС с <select> ΠΈΠ»ΠΈ radio buttons ΠΈΠ»ΠΈ checkboxes). НапримСр: НамСрил съм API ΠΊΠΎΠ΅Ρ‚ΠΎ Π²Ρ€ΡŠΡ‰Π° информация Π·Π° Ρ„ΠΈΠ»ΠΌΠΈ ΠΈ ΡΡŠΠΎΡ‚Π²Π΅Ρ‚Π½ΠΎ съм Π½Π°ΠΏΡ€Π°Π²ΠΈΠ» Ρ„ΠΎΡ€ΠΌΠ° която Π΄Π° ΠΈΠΌΠ° ΠΏΠΎΠ»Π΅ Π·Π° Ρ‚ΡŠΡ€ΡΠ΅Π½Π΅ Π½Π° Ρ„ΠΈΠ»ΠΌ ΠΏΠΎ ΠΈΠΌΠ΅, Π° ΠΎΡ‚ Π΄ΠΎΠ»Ρƒ Ρ‰Π΅ слоТа няколко checkbox-Π° ΠΊΠΎΠΈΡ‚ΠΎ Ρ‰Π΅ опрСдСлят ΠΊΠ°ΠΊΠ²Π° информация искам (Π·Π°Π³Π»Π°Π²ΠΈΠ΅ Π½Π° Ρ„ΠΈΠ»ΠΌ, описаниС, ΠΎΠ±Π»ΠΎΠΆΠΊΠ°, артисти, ΠΆΠ°Ρ€Π½ ΠΈ Ρ‚Π½).

- ΠŸΡ€ΠΈ натисканС Π½Π° Π±ΡƒΡ‚ΠΎΠ½Π° Π·Π° submit Π½Π° Ρ„ΠΎΡ€ΠΌΠ°Ρ‚Π° сС ΠΈΠ·ΠΏΡ€Π°Ρ‰Π° ajax заявка към ΡΡŠΡ€Π²ΠΈΡΠ° ΠΈ Π²ΡŠΡ€Π½Π°Ρ‚Π° информация сС Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·ΠΈΡ€Π° във пространството ΠΏΠΎΠ΄ Ρ„ΠΎΡ€ΠΌΠ°Ρ‚Π°. ΠŸΡ€ΠΈ натисканС Π½Π° Π±ΡƒΡ‚ΠΎΠ½ ΠΎΡ‚Π½ΠΎΠ²ΠΎ сС ΠΏΡ€Π°Π²ΠΈ Π½ΠΎΠ²Π° заявка ΠΈ Π½ΠΎΠ²Π°Ρ‚Π° информация сС прикрСпя към Π²Π΅Ρ‡Π΅ ΡΡŠΡ‰Π΅ΡΡ‚Π²ΡƒΠ²Π°Ρ‰Π°Ρ‚Π°. Π˜Π½Ρ„ΠΎΡ€ΠΌΠ°Ρ†ΠΈΡΡ‚Π° сС Π³ΡƒΠ±ΠΈ само ΠΏΡ€ΠΈ ΠΏΡ€Π΅Π·Π°Ρ€Π΅ΠΆΠ΄Π°Π½Π΅ Π½Π° страницата.

- Над ΠΈΠ»ΠΈ отстрани Π½Π° ΠΏΠΎΠ»Π΅Ρ‚ΠΎ ΠΊΡŠΠ΄Π΅Ρ‚ΠΎ сС Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·ΠΈΡ€Π° информацията Π΄Π° ΠΈΠΌΠ° Π±ΡƒΡ‚ΠΎΠ½ ΠΈΠ»ΠΈ Π±ΡƒΡ‚ΠΎΠ½ΠΈ позволяващо промяната Π½Π° Π΄ΠΈΠ·Π°ΠΉΠ½Π° ΠΏΠΎΠ΄ ΠΊΠΎΠΉΡ‚ΠΎ сС ΠΏΠΎΠΊΠ°Π·Π²Π° информацията. НапримСр: Ако информацията която ΠΏΠΎΠ»ΡƒΡ‡Π°Π²Π°ΠΌ сС Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·ΠΈΡ€Π° ΠΏΠΎΠ΄ Ρ„ΠΎΡ€ΠΌΠ°Ρ‚Π° Π½Π° ΠΊΠ²Π°Π΄Ρ€Π°Ρ‚Ρ‡Π΅Ρ‚Π° с ΠΎΠ±Π»ΠΎΠΆΠΊΠ° ΠΈ информация ΠΏΠΎΠ΄ нСя ΠΏΡ€ΠΈ натисканС Π½Π° Π±ΡƒΡ‚ΠΎΠ½Ρ‡Π΅Ρ‚ΠΎ Ρ‚ΠΎ ΡΡŠΡ‰Π°Ρ‚Π° информация Π΄Π° сС Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·ΠΈΡ€Π° ΠΏΠΎΠ΄ Ρ„ΠΎΡ€ΠΌΠ°Ρ‚Π° Π½Π° Ρ€Π΅Π΄ΠΎΠ²Π΅ ΠΈΠ»ΠΈ Π΄Ρ€ΡƒΠ³ Π½Π°Ρ‡ΠΈΠ½(ΠΏΠΎΠ³Π»Π΅Π΄Π½Π΅Ρ‚Π΅ ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π½ΠΈΡ‚Π΅ Ρ„ΠΈΠ³ΡƒΡ€ΠΈ Π½Π° края Π½Π° Ρ„Π°ΠΉΠ»Π°). Π—Π° Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ°Ρ‚Π° Π½Π° ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π° ΠΈΠ·ΠΏΠΎΠ»Π·Π²Π°ΠΉΡ‚Π΅: React.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

Games library, using external API. University project. πŸ‘¨β€πŸŽ“

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published