Skip to content

Commit

Permalink
Merge pull request #46 from geekcamp-vol11-team30/refactor
Browse files Browse the repository at this point in the history
リファクタリング
  • Loading branch information
xpadev-net authored Sep 30, 2023
2 parents ca30101 + c8fbe69 commit 0387ed5
Show file tree
Hide file tree
Showing 73 changed files with 1,301 additions and 1,787 deletions.
36 changes: 35 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
{
"extends": "next/core-web-vitals"
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2019,
"project": ["./tsconfig.eslint.json"]
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"simple-import-sort"
],
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier"
],
"rules": {
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-unused-vars": "error",
"@next/next/no-img-element": "off",
"no-unused-vars": "off",
"no-control-regex": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowTypedFunctionExpressions": true,
"allowExpressions": true
}
]
}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ yarn-error.log*
next-env.d.ts

.idea
*.iml
*.iml

*.sarif
51 changes: 19 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,25 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:
# magi-sche frontend
## project setup
```
pnpm install
```

```bash
npm run dev
# or
yarn dev
# or
## start dev server
```
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel
## build for production
```
pnpm build
```

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
## lint
```
pnpm lint
```

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
## build docker container
```
docker build . -t <tag>:<version>
```
14 changes: 0 additions & 14 deletions docker-compose.yaml

This file was deleted.

Empty file removed eslint-results.sarif
Empty file.
10 changes: 0 additions & 10 deletions mockserver/Dockerfile

This file was deleted.

19 changes: 0 additions & 19 deletions mockserver/package.json

This file was deleted.

25 changes: 0 additions & 25 deletions mockserver/protocol/authorize.proto

This file was deleted.

70 changes: 0 additions & 70 deletions mockserver/protocol/event.proto

This file was deleted.

90 changes: 0 additions & 90 deletions mockserver/server.js

This file was deleted.

Loading

0 comments on commit 0387ed5

Please sign in to comment.