Coder Social home page Coder Social logo

jhipster / generator-jhipster-svelte Goto Github PK

View Code? Open in Web Editor NEW
63.0 7.0 20.0 4.39 MB

Generate Svelte powered JHipster web applications

License: Apache License 2.0

JavaScript 12.65% Dockerfile 0.87% Shell 0.05% EJS 86.43%
blueprint jhipster svelte tailwindcss yeoman-generator javascript sveltekit sveltejs hacktoberfest

generator-jhipster-svelte's Introduction

JHipster BOM and server-side library - DEPRECATED

Angular Build Status React Build Status Vue Build Status Webflux Build Status Azure DevOps Build Status Maven Central

Full documentation and information is available on our website at https://www.jhipster.tech/

This project is used by the JHipster generator. This is the Bill of Materials and server-side library:

  • jhipster-dependencies
  • jhipster-framework

If the current version is SNAPSHOT then to use this SNAPSHOT version:

  • clone this project
  • run ./mvnw clean install -Dgpg.skip=true, on Windows run .\mvnw.cmd clean install -D"gpg.skip=true"

Analysis of the JHipster server-side parent POM project

sonar-quality-gate sonar-coverage sonar-bugs sonar-vulnerabilities

generator-jhipster-svelte's People

Contributors

danielfran avatar dependabot[bot] avatar jdubois avatar jhipster-bot avatar pascalgrimaud avatar rajpratik71 avatar vishal423 avatar zhyd1997 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-jhipster-svelte's Issues

Improve unit tests coverage

The current suite of unit tests merely test few components and are meant to verify jest integration and to satisfy build/sonar jobs. We should improve overall unit test coverage to cover all generated components

Update dependencies

  • Upgrade JHipster dependency to use latest patch release
  • Upgrade Svelte, Tailwind dependencies. Update tailwind configurations to remove build warning messages
  • Upgrade other third-party dependencies

Call different API to determine if the user has already authenticated

Currently like other frontend implementations, we use api/account to determine if the user has already been authenticated. Though the approach works and serves the purpose, it has a few unwanted side-effects:

  • You can see 401 errors in your browser console and network requests and it doesn't look clean.
  • Reduces lighthouse score

To mitigate the issue, we can replace the call with api/authenticate for authentication check purposes. In the case of authenticated users, it will return the authenticated user login name and for unauthenticated, an empty response.

Fix sonarqube integration in the generated sample application

Error:  Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project svelte-sample-application: Error during parsing of generic test execution report '/home/runner/work/jhipster-sample-app-svelte/jhipster-sample-app-svelte/target/test-results/jest/TESTS-results-sonar.xml'. Look at the SonarQube documentation to know the expected XML format.: Unknown XML node, expected "testExecutions" but got "testsuites" at line 2 -> [Help 1]

chrome: dynamic linked module fails

If you try to access any dynamically linked module, then, it fails with message like:

500
Failed to fetch dynamically imported module: http://localhost:8080/client/login.ef0c16ea.js
TypeError: Failed to fetch dynamically imported module: http://localhost:8080/client/login.ef0c16ea.js

No issues observed on Firefox

Workaround

Commenting out the service worker code fixes the issue

Create users list page

  • Add new menu to restrict access to ADMIN role users
  • It shall display a read only list of users available in the system
  • It shall support pagination
  • It shall support sort

Create users detail/create/update/delete pages

  • Adds ability to create a new user or update an existing user and integrate on the list page - #149
  • Adds ability to view user details. - #143
  • On list page:
    • Adds ability to activate/deactivate an existing user - #122
    • Adds ability to delete an existing user - #144

Sapper to Svelte/Kit migration

Svelte/Kit is still not publicly available (under development in a private repo). However, the bundle is available on npm. We really can't do MVP release with soon to be deprecated Sapper :(

Add account menu

After successful login, show account menu drop-down navbar options:

  • Settings
  • Change Password
  • Logout

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.