Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sky0621/cv-admin-front
https://github.com/sky0621/cv-admin-front
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sky0621/cv-admin-front
- Owner: sky0621
- License: mit
- Created: 2023-06-22T14:45:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-25T00:58:02.000Z (8 months ago)
- Last Synced: 2024-04-25T02:21:35.341Z (8 months ago)
- Language: TypeScript
- Size: 294 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cv-admin-front
## environment
```
node -v
v20.5.0npm -v
10.1.0
```## setup
### NEXT.js
https://nextjs.org/docs/getting-started/installation#next-steps
```bash
npx create-next-app@latest
```### server-only
https://nextjs.org/docs/getting-started/react-essentials#the-server-only-package
```bash
npm install server-only
```### prettier
https://prettier.io/docs/en/install.html
```bash
npm install --save-dev --save-exact prettier
```#### Git hooks
https://prettier.io/docs/en/install.html#git-hooks
```bash
npm install --save-dev husky lint-staged
npx husky install
npm pkg set scripts.prepare="husky install"
npx husky add .husky/pre-commit "npx lint-staged"
```##### Add the following to your package.json:
```json
{
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}
```#### prettierignore
https://prettier.io/docs/en/ignore.html#ignoring-files-prettierignore
### OpenAPI ジェネレーター
https://openapi-generator.tech/docs/installation/
```bash
brew install openapi-generator
```#### gen
```bash
openapi-generator generate -i /Users/sky0621/work/github.com/sky0621/cv-admin/schema/openapi.yml -g typescript-fetch -o ./src/lib/api/
```### Ant Design
https://ant.design/
```
npm install antd
``````
npm install @ant-design/colors
``````
npm install @ant-design/nextjs-registry
```### reset.css
https://github.com/mayank99/reset.css
```
npm install @acab/reset.css
```### recoil
https://recoiljs.org/
```
npm install recoil
```### zod
```
npm install zod
```## Getting Started
First, run the development server:
```bash
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.