This project was thrown together to showcase some of my abilities to get projects up quickly and with "production" quality.
To me, production quality means:
- Does it solve the problem at hand? Are we reinventing the wheel?
- Security is paroumount. Don't leak secrets. Use industry standard auth/encryption.
- How performant does it need to be?
- How maintainable is it?
- Are there unit tests?
- DevX, is it easy to work on?
- Observability. Is it monitorable? Who gets pinged when it goes down?
- Install asdf
- Use Nodejs latest
yarn
yarn dev
- Open http://localhost:3000 with your browser to see the result.
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.
create-next-app
.next/font
to automatically optimize and load Inter, a custom Google Font.
- In "settings" on the gitub repo, select "Pages", select "Github Actions"
- Change the workflow and search for "Next.js", this opens the github editor...commit the file
- Wait for the action to run. Will output the URL
- Add
basePath: '/electric'
to next.config.mjs since that's what I called the workflow base path. This will allow the images to load.