This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
The project require Node enviroment.
- 1, Check you have already installed Node or not. :
node -v
- 2, if you not installed node. you should install node.
- 3, Check your node version. You can check with
node v
. require version is18.16.0
The project can clone from github with "git clone "repogitry https url".
- Note: I recommand Cloning from VSCode. if you are already complate collaborate VSCode with gitHub.
- Development is uses
yarn
. Please install that withnpm install yarn
- After that. Please enter
yarn
. the yarn starts installation node_module and module which deaclear "package.json" automatically.
- cloneやpullをしたらとりあえず
yarn
- 開発環境用
yarn run dev
- 本番環境用は
yarn run builsd
→yarn run start
- DBの初期化
npx prisma init
- Prismaのスキーマを書き換えたら
npx prisma db push
- ブラウザで、DB内にアクセスしたいとき
npx prisma studio