-
Notifications
You must be signed in to change notification settings - Fork 14
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
My changes #3
Open
MatheusGraciki
wants to merge
59
commits into
SwitchDreams:main
Choose a base branch
from
MatheusGraciki:master
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.
Open
My changes #3
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
Here i configured the eslint to make me had a better performance in project
conclusion of SignUp screen and using the api to make a post of the user data
here i use the api to validate the user data, if the user has been registered, the user will go to "VerAulas" screen, if he is not registered, the user will recive a message error. I finished the Login screnn too.
Getting bearer token and saving to asynchronous storage to use on another screen with different requests where authentication is required
Change dir for better organization
Getting user role to redirect user to different screens, it depends on user role, if user is a customer he'll have less privileges on screens than teachers or admins
this screen will possibilitate the teacher to edit and delete classes
Changing routes for tests in create categories screen.
Creating a modal for add categories and listing categories inside the modal with a flatlist
flatlist display the data contained in fetch data, ever the function is called the data is updated.
createCategory : makes a post with the category data, this data is entered by the user. featchData: Get data from API and show user in simple list. deleteCategories: does a data deletion in the api, when this is done, the flatlist is automatically updated. updateCategories: Patch the api and update the data and the flatlist, but there is no time when this isn't working and I don't know why. i created two modals too, one modal for add categories, and other to update categories
fetchData: fetchData: fetch data when user click in "ver aulas" on screen "CriarCategorias". deleteClass: delete a class when the user click on trash icon . updateClass: not working, but substitut the data with new value. modal: the modal has been created to set new values when use updateClass.
createGymClass: create a gym class on category selected, i created two buttons too, the button "VerAulas" and "CriarAulas"
sending parameters to be used in the "Class 2" screen, this is the screen where the user can sign up and see details of their class
Getting datetime to send and save in start time class in api duration transform the minutes passed for user in seconds to sent to api
fetch data: fetch data to show for user in flatlist, createGymClassUser: if the user subscibe on a class then gymclassuser is created getGymClass: get the data crated on createGymClassUser deleteGynClass:: delete the data crated on createGymClassUser
sending props to use in other screen
code refactoring to create components and make the app code more clean and organized
for better performance, organization and a clean code i reafactored this code using components
cleaning code
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.
Deploy da Aplicação 💨
Cada interação do usuário recebe uma trativa e um fedbaack do aplicativo, no video não aparece pois estou utilizando pelo navegador
Usuários para Teste: Professor, Cliente
Tarefas em aberto
📝 Adicionar SplashScreen
📝 Refatorar codigo criando mais componentes e deixando o código mais clean
📝 Implementação de um desing melhor e mais condizente com o projeto