Skip to content

Commit

Permalink
Merge pull request #6 from nitin-ebi/eva-web-react
Browse files Browse the repository at this point in the history
EVA-3594 React POC init commit
  • Loading branch information
nitin-ebi authored Jul 9, 2024
2 parents 2cbbd57 + 099909e commit ff8ba32
Show file tree
Hide file tree
Showing 71 changed files with 5,772 additions and 25,544 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

18 changes: 18 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: {browser: true, es2020: true},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{allowConstantExport: true},
],
},
}
27 changes: 0 additions & 27 deletions .github/workflows/tests.yml

This file was deleted.

24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
dist
# 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?
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

24 changes: 6 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
# web-prototype

Prototypes for new website components in React.

## Build

Uses [Node.js](https://nodejs.org/en/) version 16 and [npm](https://www.npmjs.com/) version 8. (You can use [nvm](https://github.com/nvm-sh/nvm) to install both and conveniently switch between node versions.) Then run the following as needed:

```shell
# Install dependencies
npm install

# Run development server with hot reloading
npm start

# Build development package
npm run build
```
## Local Development & Testing
Run `npm run dev` for local development and testing.
## Production Deployment
Run `npm run build` for production deployment.
######
The base path for application deployment can be updated in `vite.config.ts`
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link href="src/assets/logos/eva/eva_logo.png" rel="icon" type="image/svg+xml"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>European Variation Archive</title>
<style>
body {margin: 0}
</style>
</head>
<body>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
</body>
</html>
4 changes: 0 additions & 4 deletions jest.config.js

This file was deleted.

19 changes: 0 additions & 19 deletions jest.setup.js

This file was deleted.

Loading

0 comments on commit ff8ba32

Please sign in to comment.