- Download and install Node.js for Next.js development.
- For version control, download and install Git or GitHub Desktop.
- (Optional) Interested in contributing to the backend with Go? Download and install Go to explore backend development opportunities alongside Next.js frontend tasks. (With Hayden)
- NextJs - overall framework that is built on React
- TailwindCSS - styling framework that provides a pool of pre-defined classes to speed up the design
- Ant Design - React Component library that allows us to use pre-defined components
Start by cloning the repository using the command:
git clone [email protected]:DallasFormulaRacing/DFRWebsite.git
This will download the project files to your local machine.
Once cloned, navigate into the project directory and install the dependencies by running:
npm install
This command will ensure all required packages are installed and ready for use.
To launch the development server, execute the following command:
npm run dev
This will start the server, enabling you to preview your changes in real time.
Open your web browser and go to http://localhost:3000/ to view the live website.
Start editing any page you want! Changes you make will automatically update the page, allowing you to see your modifications instantly!
├── app // main source of the frontend code, most of the development is going to happen here
│ ├── api // Can be used to create api endpoints handled by Next.js (can be ignored for now)
│ ├── components // holds some components for pages
│ ├── about // each folder is a page on the website that don't have (), and a contain a page.tsx
│ │ ├── page.tsx
│ ├── page.tsx // main entry point of the website (home page)
├── public // images can be found here
You don't need to adhere strictly to every detail, as the primary focus is on working in separate branches to maintain a cleaner version control history and have fun.
However, it's crucial to recognize the broader significance: through this process, you can hone essential job-related skills like crafting effective commits, monitoring issues, and providing detailed pull request descriptions. Furthermore, showcasing this workflow in interviews can greatly impress potential employers. While perfection isn't necessary, don't hesitate to embrace the opportunity to learn and improve.
-- written by ChatGPT
- Summary: Concise description of the issue/task.
- Explanation:
- What: Clearly state the problem or task.
- Where: Specify where it occurs.
- How (if possible): Provide details on how to reproduce or context.
- Ideally make a new branch for each issue
- Make a pull request when done just for a small review (just to get the feeling on how the workplace is)
- Add a summary of the work done
- Once approved go ahead and merge the pull request
Ex:
Implement EV Team Page
Implemented the EV Team Page as per the provided design specifications.
The page now includes separate components for different sections, incorporating images
and populating content from a newly created dataset.
[image](src)