Welcome to HackUPC's landing page source code, made in Next.js.
This repository is live since the 10th edition of HackUPC in 2024, you can see the old releases in Old repository
- Install Node.js (v20.10.0 or newer) in your computer.
- Have a text editor or IDE installed, like Visual Studio Code or WebStorm.
-
Clone the repository
git clone https://github.com/hackupc/new_hackupc.git
-
Install the dependencies
npm install
-
Run the development server
npm run dev
-
Open http://localhost:3000 with your browser to see the result.
The page auto-updates as you edit the file. If it's not working maybe you need to check your configurations, it's for sure working in Chrome (mac and windows) and mozilla (linux)
We are using eslint
and prettier
to lint and format the code, you can run the following commands to check if the code is correctly formatted and linted:
npm run lint
npm run format
This commands will make changes in your code, if you simply want to check if the code is correctly formatted and linted, you can run the following commands:
npm run check-lint
npm run check-format
The app is being deployed in Netlify, the deployment is automatic when a new commit is pushed to the master
branch. But it's generating previews for every pull request, so you can see the changes before merging.