Git Product home page Git Product logo

react-restaurant-appoinment-app's Introduction

React Restaurant Appoinment App

πŸ‘‰ Click here to see on browser

restaurant appointment


What's used in this app ? How use third party libraries Author
lifting state up Take a look at my portfolio
useState() Hook Visit me on Linkedin
react-events
React-Conditional rendering
React-Bootstrap npm i / yarn add react-bootstrap bootstrap
React-icons npm i / yarn add react-icons
props-drilling
Semantic-Commits
Deploy with Netlify

How To Run This Project πŸš€


πŸ’» Install React πŸ‘‡

yarn create react-app .  or npx create-react-app .

πŸ’» Install Sass πŸ‘‡

yarn add sass  or npm i sass

πŸ”΄ Delete these files and delete the importsπŸ‘‡

- App.test.js
- reportWebVitals.js
- setupTests.js
- favicon.ico
- logo192.png
- logo512.png
- manifest.json
- robots.txt

πŸ’» Start the project πŸ‘‡

yarn start or npm start

OR

  • Clone the Repo

    git clone
  • Install NPM packages

    npm install or yarn
  • Run the project

    npm start or yarn start
  • Open the project on your browser

    http://localhost:3000/
  • Enjoy! πŸŽ‰


Project Skeleton

React Restaurant Appoinment App  (folder)
|
|----readme.md         
|       
β”œβ”€β”€ public
β”‚     └── index.html
β”œβ”€β”€ src
β”‚    β”œβ”€β”€ components
β”‚    β”‚       β”œβ”€β”€ AddModal.jsx
β”‚    β”‚       β”‚
β”‚    β”‚       β”œβ”€β”€ Appointment.jsx.jsx
β”‚    β”‚       β”‚
β”‚    β”‚       β”œβ”€β”€ Restaurant.jsx
β”‚    β”‚
β”‚    β”œβ”€β”€β”€β”€β”€β”€pages
β”‚    β”‚         β”œβ”€β”€ Home.jsx
β”‚    β”‚
β”‚    │──────helper
β”‚    β”‚         β”œβ”€β”€ data.jsx
β”‚    β”‚
β”‚    β”œβ”€β”€ App.js
β”‚    β”œβ”€β”€ index.js
β”‚    └── index.css
β”œβ”€β”€ package.json
└── yarn.lock



At the end of the project, the following topics are to be covered;

  • Lifting state up

  • conditional rendering + cconditional Css

  • tiklananin id sine gΓΆre objenin icindeki boolean degeri degiline cevirme toggle yapma

        setApps(
                apps.map((item) =>
                    item.id === id ? { ...item, consulted: !item.consulted } : item
                )
            );
        };
  • tiklananin id sine gΓΆre filter ile silme

        const handleDelete = (id) => {{
            setApps(apps.filter((item) => item.id !== id));
        };
  • Css ::after

    .consulted::after {
        content: "CONSULTED";
        background-color: rgb(166, 18, 189);
        color: white;
        font-size: 2rem;
        border-radius: 1rem;
        position: absolute;
        left: 50%;
        top: 50%;
        padding: 0.5rem;
        transform: translate(-50%, -50%);
    }
  • Semantic Commit Messages See how a minor change to your commit message style can make you a better programmer.

    Format: ():

    is optional

    • Example
                feat: add hat wobble
        ^--^  ^------------^
        |     |
        |     +-> Summary in present tense.
        |
        +-------> Type: chore, docs, feat, fix, refactor, style, or test.
    
  • More Examples: - feat: (new feature for the user, not a new feature for build script) - fix: (bug fix for the user, not a fix to a build script) - docs: (changes to the documentation) - style: (formatting, missing semi colons, etc; no production code change) - refactor: (refactoring production code, eg. renaming a variable) - test: (adding missing tests, refactoring tests; no production code change) - chore: (updating grunt tasks etc; no production code change)


Feedback and Collaboration

I value your feedback and suggestions. If you have any comments, questions, or ideas for improvement regarding this project or any of my other projects, please don't hesitate to reach out. I'm always open to collaboration and welcome the opportunity to work on exciting projects together. Thank you for visiting my project. I hope you have a wonderful experience exploring it, and I look forward to connecting with you soon!

βŒ› Happy Coding ✍

react-restaurant-appoinment-app's People

Contributors

kaplanh 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.