Code Monkey home page Code Monkey logo

Comments (10)

michaelisvy avatar michaelisvy commented on September 15, 2024 1

I agree that it needs an upgrade, and at this stage I haven't managed to start the application successfully (it might be due to my version of Node.js being too recent).

from spring-petclinic-reactjs.

arey avatar arey commented on September 15, 2024 1

Like @michaelisvy , an update of the React front and Spring Boot backend would be a good thing. Since you seem motivated and are motivated @firasrg , you have free rein and could work on it. I think @nilshartmann will agree too.

from spring-petclinic-reactjs.

nilshartmann avatar nilshartmann commented on September 15, 2024 1

Hi all!

I think that's a very good idea to upgrade this. Unfortunatly I hadn't found the time yet, so I'm more than happy if anyone else would support.

Tbh I think "upgrade" in this case is more or less a re-write 😬

Does it make sense, before starting with the upgrade to could discuss a tech stack that we want to use?

For example:

  • should we go with create-react-app or vite?
  • use TanStack Query for data fetching?
  • CSS: "plain", modules, css-in-js, Tailwind, ... ?
  • should we implement frontend tests? should they run in GitHub actions? 🙀

from spring-petclinic-reactjs.

nilshartmann avatar nilshartmann commented on September 15, 2024 1

@firasrg not sure, if create-react-app is still a good idea. That project seems (currently) more or less abandoned while more and more people tend to use Vite. That would probably mean vitest instead of jest, but that should also work with RTL.

from spring-petclinic-reactjs.

firasrg avatar firasrg commented on September 15, 2024 1

Alright@nilshartmann , in this case I close this issue.

from spring-petclinic-reactjs.

firasrg avatar firasrg commented on September 15, 2024

Hi all

@michaelisvy I got the client app working without backend and data, just UI.

@nilshartmann yeah it needs to be rewritten, I have a good experience with React I can provide a good initiative on that. As for techs, I imagine we would need CRA (create react app) for sure, React Query for datafetching yes! Tailwind CSS or something similar for styling and layouts.

As for tests, I think : Jest + React Testing Library

I have a good background with these tools and some others.

from spring-petclinic-reactjs.

firasrg avatar firasrg commented on September 15, 2024

TBH I don't know Vite, but based on a first comparison, it seems a good tool that brings better performance over CRA. But I think for beginners and intermediate levels, CRA would be more suitable as it's mature, popular and easier to use. As PetClinic project is intended to be used by new people or immigrants, I think it would be better to start with CRA.

It's up to you

from spring-petclinic-reactjs.

firasrg avatar firasrg commented on September 15, 2024

I think it would be better to start with CRA.

I just got an information from trusted React community members that CRA is no more maintained. I agree with what you said

from spring-petclinic-reactjs.

michaelisvy avatar michaelisvy commented on September 15, 2024

hello, in case the work can be split, I'll be happy to help out (either for React part or for the Backend part)

from spring-petclinic-reactjs.

nilshartmann avatar nilshartmann commented on September 15, 2024

hello, in case the work can be split, I'll be happy to help out (either for React part or for the Backend part)

Hi @michaelisvy,

thank you very much!!!

I think it makes sense to consolidate the backend and frontend issue, so please find my ideas here: #26 (comment)

from spring-petclinic-reactjs.

Related Issues (10)

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.