A compact web application for a PW2 school project that validates the token from cookies and configures the locale header based on the URL path within middleware.
- Knowledge of JavaScript/TypeScript, Next.js, Git
- IDE (VS Code, WebStorm, ...)
- Package manager (pnpm, npm, ...)
- Go to the project folder using
cd nextjs-middleware-pw2/ - Install all dependecies using
pnpm install
- Development server:
pnpm run dev - Production:
pnpm run build & pnpm run start
| Description | Values |
|---|---|
| Ports: | 3000 |
| Technologies: | Next.js |
| URL: | http://localhost:3000/ |
This software is developed by Petr Kašpar and is licensed under the MIT License.
For more details, please refer to the LICENSE file.