feat: move to next.js (!14)

Reviewed-on: https://codeberg.org/nhcarrigan/portfolio/pulls/14
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
2024-08-25 02:40:46 +00:00
committed by Naomi the Technomancer
parent 6b7c8b2256
commit e22a51ba23
146 changed files with 3582 additions and 11995 deletions

View File

@ -1,27 +1,36 @@
# Nhcarrigan
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).
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.2.
## Getting Started
## Development server
First, run the development server:
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
## Code scaffolding
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## Build
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Learn More
## Running unit tests
To learn more about Next.js, take a look at the following resources:
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
## Running end-to-end tests
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Deploy on Vercel
## Further help
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.
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.