Skip to content

Commit 545dfed

Browse files
committed
Initial configurations
1 parent 690d680 commit 545dfed

10 files changed

+8837
-1
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.gitignore

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env*.local
29+
.env
30+
31+
# vercel
32+
.vercel
33+
34+
# typescript
35+
*.tsbuildinfo
36+
next-env.d.ts

.prettierrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

README.md

+36-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,36 @@
1-
# my-lib
1+
Use npm for install packages
2+
3+
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).
4+
5+
## Getting Started
6+
7+
First, run the development server:
8+
9+
```bash
10+
npm run dev
11+
# or
12+
yarn dev
13+
# or
14+
pnpm dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20+
21+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
22+
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
31+
32+
## Deploy on Vercel
33+
34+
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.
35+
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

app/favicon.ico

25.3 KB
Binary file not shown.

app/globals.css

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
* {
2+
padding: 0;
3+
margin: 0;
4+
border: 0;
5+
}
6+
*,
7+
*:before,
8+
*:after {
9+
-moz-box-sizing: border-box;
10+
-webkit-box-sizing: border-box;
11+
box-sizing: border-box;
12+
}
13+
:focus,
14+
:active {
15+
outline: none;
16+
}
17+
a:focus,
18+
a:active {
19+
outline: none;
20+
}
21+
22+
nav,
23+
footer,
24+
header,
25+
aside {
26+
display: block;
27+
}
28+
29+
html,
30+
body {
31+
height: 100%;
32+
width: 100%;
33+
font-size: 100%;
34+
line-height: 1;
35+
font-size: 14px;
36+
-ms-text-size-adjust: 100%;
37+
-moz-text-size-adjust: 100%;
38+
-webkit-text-size-adjust: 100%;
39+
}
40+
input,
41+
button,
42+
textarea {
43+
font-family: inherit;
44+
}
45+
46+
input::-ms-clear {
47+
display: none;
48+
}
49+
button {
50+
cursor: pointer;
51+
}
52+
button::-moz-focus-inner {
53+
padding: 0;
54+
border: 0;
55+
}
56+
a,
57+
a:visited {
58+
text-decoration: none;
59+
}
60+
a:hover {
61+
text-decoration: none;
62+
}
63+
ul li {
64+
list-style: none;
65+
}
66+
img {
67+
vertical-align: top;
68+
}
69+
70+
h1,
71+
h2,
72+
h3,
73+
h4,
74+
h5,
75+
h6 {
76+
font-size: inherit;
77+
font-weight: 400;
78+
}

next.config.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
experimental: {
4+
serverComponentsExternalPackages: ["mongoose"],
5+
serverActions: true,
6+
},
7+
};
8+
9+
module.exports = nextConfig;

0 commit comments

Comments
 (0)