Welcome! Follow these steps to submit your React project to the WebCraft platform.
You’ll be contributing your project by:
- Forking the WebCraft repository
- Adding your project to the
mentees/
folder - Submitting a pull request (PR)
Visit the WebCraft GitHub repository and click "Fork" to create your own copy.
git clone https://github.com/your-username/webcraft-final-website.git
cd webcraft-final-website
Inside the src/mentees/
directory, create a new folder named after your name or username (e.g., Bob/
).
mkdir src/mentees/YourName
Your folder should include:
- A React app (can be minimal or fully built)
- A file named
index.jsx
that:- Imports your main component
- Exports project metadata
Example folder structure:
src/
└── mentees/
└── Bob/
├── public/
├── src/
│ └── App.jsx
└── index.jsx
In your index.jsx
, use the following format:
import BobApp from './App'
export const meta = {
title: 'Analog Clock',
author: 'Bob',
description: 'A React analog clock using CSS and hooks.',
thumbnail: '/assets/thumbnails/clock.png'
}
export default BobApp
💡 Store your
thumbnail
in the main repo’spublic/assets/thumbnails/
folder.
git add .
git commit -m "Added Bob’s analog clock project"
git push origin main
Then, go to your GitHub fork and open a Pull Request to the original repository's main
branch.
- ✅ Use a unique folder name
- ❌ Do not use
meta.json
; useindex.jsx
for metadata - 🖼️ Place your thumbnails in
public/assets/thumbnails/
- 🔒 Do not edit files outside your own folder (except for thumbnails)
- 🧩 Once merged, your project card will appear on the homepage automatically
Open an issue in the GitHub repo or contact a mentor.
Happy Building and Keep Coding!