First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
We highly encourage learning new technology and processes including contributing to open source software. We understand that not everyone will have the skill set but we would love to teach you a new skill. Below we have provided instructions to contribute to this private repository.
Forking a repository is a simple two-step process. We've created a repository for you to practice with!
- On GitHub, navigate to the HackRegina/website repository.
- In the top-right corner of the page, click Fork.
That's it! Now, you have a fork of the original HackRegina/website repository. Read more on forking here.
You can open a pull request to the upstream repository from any branch or commit in your fork.
- Navigate to the original repository you created your fork from.
- To the right of the Branch menu, click New pull request.
- On the Compare page, click compare across forks.
- Confirm that the base fork is the repository you'd like to merge changes into. Use the base branch drop-down menu to select the branch of the upstream repository you'd like to merge changes into.
- Drop-down menus for choosing the head fork and compare branch. Use the head fork drop-down menu to select your fork, then use the compare branch drop-down menu to select the branch you made your changes in.
- Type a title and description for your pull request.
- If you do not want to allow anyone with push access to the upstream repository to make changes to your PR, unselect Allow edits from maintainers.
- Click Create pull request.
Read more on creating a pull request from a fork here.
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.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!