Skip to content

Commit 4ef39f4

Browse files
committed
NextJS initial setup
1 parent 8651ce8 commit 4ef39f4

File tree

2 files changed

+62
-98
lines changed

2 files changed

+62
-98
lines changed

.gitignore

+28-97
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,39 @@
1-
# Idea
2-
*.iml
3-
.idea
4-
5-
# Logs
6-
logs
7-
*.log
8-
npm-debug.log*
9-
yarn-debug.log*
10-
yarn-error.log*
11-
lerna-debug.log*
12-
13-
# Diagnostic reports (https://nodejs.org/api/report.html)
14-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
15-
16-
# Runtime data
17-
pids
18-
*.pid
19-
*.seed
20-
*.pid.lock
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
212

22-
# Directory for instrumented libs generated by jscoverage/JSCover
23-
lib-cov
3+
# idea
4+
.idea
245

25-
# Coverage directory used by tools like istanbul
26-
coverage
27-
*.lcov
6+
# dependencies
7+
/node_modules
8+
/.pnp
9+
.pnp.js
2810

29-
# nyc test coverage
30-
.nyc_output
11+
# testing
12+
/coverage
3113

32-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33-
.grunt
14+
# next.js
15+
/.next/
16+
/out/
3417

35-
# Bower dependency directory (https://bower.io/)
36-
bower_components
18+
# production
19+
/build
3720

38-
# node-waf configuration
39-
.lock-wscript
21+
# misc
22+
.DS_Store
23+
*.pem
4024

41-
# Compiled binary addons (https://nodejs.org/api/addons.html)
42-
build/Release
25+
# debug
26+
npm-debug.log*
27+
yarn-debug.log*
28+
yarn-error.log*
29+
.pnpm-debug.log*
4330

44-
# Dependency directories
45-
node_modules/
46-
jspm_packages/
31+
# local env files
32+
.env*.local
4733

48-
# TypeScript v1 declaration files
49-
typings/
34+
# vercel
35+
.vercel
5036

51-
# TypeScript cache
37+
# typescript
5238
*.tsbuildinfo
53-
54-
# Optional npm cache directory
55-
.npm
56-
57-
# Optional eslint cache
58-
.eslintcache
59-
60-
# Microbundle cache
61-
.rpt2_cache/
62-
.rts2_cache_cjs/
63-
.rts2_cache_es/
64-
.rts2_cache_umd/
65-
66-
# Optional REPL history
67-
.node_repl_history
68-
69-
# Output of 'npm pack'
70-
*.tgz
71-
72-
# Yarn Integrity file
73-
.yarn-integrity
74-
75-
# dotenv environment variables file
76-
.env
77-
.env.test
78-
79-
# parcel-bundler cache (https://parceljs.org/)
80-
.cache
81-
82-
# Next.js build output
83-
.next
84-
85-
# Nuxt.js build / generate output
86-
.nuxt
87-
dist
88-
89-
# Gatsby files
90-
.cache/
91-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
92-
# https://nextjs.org/blog/next-9-1#public-directory-support
93-
# public
94-
95-
# vuepress build output
96-
.vuepress/dist
97-
98-
# Serverless directories
99-
.serverless/
100-
101-
# FuseBox cache
102-
.fusebox/
103-
104-
# DynamoDB Local files
105-
.dynamodb/
106-
107-
# TernJS port file
108-
.tern-port
39+
next-env.d.ts

README.md

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

0 commit comments

Comments
 (0)