Skip to content

Commit

Permalink
Example - 7GUIs Flight Booker (#4843)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebarakat authored Apr 10, 2024
1 parent dfaebe1 commit 040ffa0
Show file tree
Hide file tree
Showing 17 changed files with 3,778 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/7guis-flight-booker-react/.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 },
],
},
}
24 changes: 24 additions & 0 deletions examples/7guis-flight-booker-react/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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?
14 changes: 14 additions & 0 deletions examples/7guis-flight-booker-react/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# XState v5 + React - 7GUIs Flight Booker

The 7GUIs Fligt Booker App built with:

- React 18
- XState 5
- Typescript
- Vite

Visit the [7GUIs project](https://eugenkiss.github.io/7guis/tasks#flight/ "Flight Booker") for more info.

## Screenshots

![App Screenshot](public/flight-booker.jpg)
13 changes: 13 additions & 0 deletions examples/7guis-flight-booker-react/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading

0 comments on commit 040ffa0

Please sign in to comment.