Git Product home page Git Product logo

persones's Introduction

CRUD Operation for Persones using react

This project was bootstrapped with Create React App.

src Folder

    ---Persones
    ---Navbar
    ---Login
    ---Update
    ---NotFound
    ---Paging_Navbar

in Short

The base of the Project has been implemented in persone Folder. In this folder, we can see a table that has a header for the Properties of each person and we can sort them with click on each property. in the table, we can delete each person & update it and also give a like to each person. we also have a navigation bar that shows the number of persons that we like and also a search bar for searching. On this page, we have a list group that filtered each person with their (city) properties. we have a button for adding a new person that navigates us to the login page and we should add a valid person to our list. we have a pagination that navigates us to each page of our list. we have a button for showing all persons that we have on our list.

Login

I created components for this project we use class components and also functional components. In the Login folder, I create form and input for using them in login and update. in form component, we create functions for validating our data and also we create a function for validating our form and handling submit, change, and render input. I extract each input in the input component and use it in the form component. Also, I created a select component for using it in the form component. Then in addition to using Bootstrap for styling, I use CSS for styling when hovering over the input and also when the input is invalid. in Login and update, I place the forms and use the functions that I create in the form component.

Alt text

Update

In the update folder, we have update that use functions in Form and input for updating our data. in form component, we create functions for validating our data and also we create a function for validating our form and handling submit, change, and render input. I extract each input in the input component and use it in the form component. Also, I created a select component for using it in the form component. Then in addition to using Bootstrap for styling, I use CSS for styling when hovering over the input and also when the input is invalid. in update, I place the forms and use the functions that I create in the form component.

Alt text

Persones

in persones folder we have table ,list group,Navigation bar and pagination component.in List group component we create a list group, show us the cities that we have in our list and we can filter our list with click on each city.in table component we create a table, show us the persons that we have in our list and we can sort them with click on each property of person , also we can delete each person and update it . also give a like to each person .in Navigation bar component we create a navigation bar that show us the number of persons that we like and also a search bar for searching .in pagination component we create a pagination that navigate us to each page of our list.also we have a button for adding a new person that navigates us to the login page and we should add a valid person to our list.

Alt text below we see the Person page and the components that we have in this page.

list group

Alt text

table

Alt text

navigation bar

Alt text

pagination

Alt text

Full video

Person_Page.mp4

packeges

-lodash
-fontawesome
-bootstrap

persones's People

Contributors

mohammad-sobhan-saririan avatar

Stargazers

 avatar Mohammad Mehdi Avara avatar Morteza Mahdavi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.