Skip to content

Commit

Permalink
Merge pull request #3 from firasrg/refactor
Browse files Browse the repository at this point in the history
Refactor: Convert whole project to a React App
  • Loading branch information
firasrg authored Jun 14, 2023
2 parents 82f25d8 + 0dce62e commit 72c58f9
Show file tree
Hide file tree
Showing 240 changed files with 8,751 additions and 16,176 deletions.
12 changes: 0 additions & 12 deletions .editorconfig

This file was deleted.

10 changes: 10 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
env: { browser: true, es2020: true },
extends: ['universe/web'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',
'import/order': 0
}
};
5 changes: 0 additions & 5 deletions .gitattributes

This file was deleted.

34 changes: 25 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
target/*
.settings/*
.classpath
.project
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.iml
/target
npm-debug.log
/bin/
client/*
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.vite
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "spring-petclinic-rest"]
path = spring-petclinic-rest
url = https://github.com/spring-petclinic/spring-petclinic-rest.git
Binary file removed .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
1 change: 0 additions & 1 deletion .mvn/wrapper/maven-wrapper.properties

This file was deleted.

27 changes: 27 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.vite
package-lock.json
20 changes: 0 additions & 20 deletions .springBeans

This file was deleted.

13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Spring PetClinic React

## Using Vite (TODO)

## Static analysis & linting (TS, ESLint, Prettier) (TODO)

## Routing (TODO)

## Styles (TODO)

## Petclinic Rest submodule (TODO)
19 changes: 0 additions & 19 deletions Run PetClinicApplication.launch

This file was deleted.

32 changes: 0 additions & 32 deletions TODO.md

This file was deleted.

4 changes: 0 additions & 4 deletions client/.babelrc

This file was deleted.

9 changes: 0 additions & 9 deletions client/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions client/.vscode/settings.json

This file was deleted.

69 changes: 0 additions & 69 deletions client/package.json

This file was deleted.

21 changes: 0 additions & 21 deletions client/public/index.html

This file was deleted.

3 changes: 0 additions & 3 deletions client/run.sh

This file was deleted.

Loading

0 comments on commit 72c58f9

Please sign in to comment.