This guide will help you run the project locally and understand the basic workflow.
- React + Vite (frontend framework & build tool)
- TypeScript (strongly-typed JavaScript)
- ESLint + Prettier (code quality and formatting)
This may evolve as the project grows. Any proposed changes will be discussed in Discussions.
- Install Node.js (LTS version recommended).
- Install npm (comes with Node.js).
- (Optional) Install Git if you want to clone the repository directly.
-
Clone the repository
git clone https://github.com/OpenCodeChicago/hacktoberfest-2025-frontend.git cd hacktoberfest-2025-frontend -
Copy environment variables file
cp .env.example .env
The API URL is set in
.envasVITE_API_URL. You can use this variable in your code asimport.meta.env.VITE_API_URL -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser and navigate to the URL printed in the terminal
(usually
http://localhost:5173)
npm run dev→ Run the app in development modenpm run build→ Build the app for productionnpm run preview→ Preview the production build locallynpm run lint→ Run the linter to check code style
- Fork this repository
- Create a new branch for your feature or fix
- Commit your changes
- Open a Pull Request (PR) with a clear description of what you did
For more details, see CONTRIBUTING.md
- If you see an error like command not found: npm, make sure Node.js and npm are installed.
- If the dev server doesn’t start, try deleting
node_modulesandpackage-lock.json, then runnpm installagain. - Still stuck? Ask in main Hacktoberfest Discussion or on Discord
If you find this project helpful, please consider starring it on GitHub! It helps us grow and reach more contributors.