-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react footbalii task for nilva - ali nazari #39
Open
AliNazari-dev
wants to merge
18
commits into
nilva-challenge:main
Choose a base branch
from
AliNazari-dev:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
React footbalii
we have two section in this project in two diffrent folder
1 - api
2 - client
api section handled our server side for fetching data and client section
i tried to make an simple backend for fetching data from our static data base file
we can handle our query and adding limitation for fetching how many post
client section handled UI of project and as you seen i tried to make reusable and maintable component like Button components
///////////////// PROJECT CHALLEMGES ///////////
i had some challenges , Some have been resolved and some remain
#1 - first infinit scrolling challenge , beacuse i didn't have an Api for fetching and limitation fetching and i spent time to make my own api
#2- As I said before I didn't have an database and i make once but in that we have duplicate information
and when you scrolling you will see duplicate informations of leagues and team And if we have server and api our something else this problem will be solved
#3- I make custom hook and name it UseFetch and we can use it for handling error and response from server
#4- i tried to make my own swiper calandar but as you know that wil be challenging and we have a many packages for that but in react native And it will be easier for me to learn react-native than to make my own calandar but as you know Even if we build it, we still need the games information on the server
and unfortunately for me, I still could not solve this challenge
I used
React -React icons - React hooks
tailwind and tailwind merge
vite package manger
for client side and
express js of node js
for handling backend and Api
To use you must run api folder with -npm start
and start client side with npm run dev