Description
We need to set up the initial project structure for CodeCrack so contributors can start building features. This includes setting up frontend, backend, and configuration files.
✅ Tasks
Initialize Git repository with .gitignore (Node.js + React).
Setup backend folder with:
server.js (Express app entry point)
Basic routes folder (/routes)
Models folder (/models)
Controllers folder (/controllers)
Setup frontend folder with React (using Vite or Create React App).
Add dummy home page (React) that says "Welcome to CodeCrack ".
Add README.md update with instructions for running frontend & backend.
Add package.json scripts for easy start (npm run dev / npm run server).
Suggested Structure
CodeCrack/
│── backend/
│ ├── server.js
│ ├── routes/
│ ├── models/
│ └── controllers/
│
│── frontend/
│ ├── src/
│ ├── public/
│ └── package.json
│
│── .gitignore
│── README.md
│── package.json
Notes
Use Express.js for backend setup.
Use React (Vite) for frontend.
Keep the backend and frontend independent for now (later we can add proxy).
Description
We need to set up the initial project structure for CodeCrack so contributors can start building features. This includes setting up frontend, backend, and configuration files.
✅ Tasks
Initialize Git repository with .gitignore (Node.js + React).
Setup backend folder with:
server.js (Express app entry point)
Basic routes folder (/routes)
Models folder (/models)
Controllers folder (/controllers)
Setup frontend folder with React (using Vite or Create React App).
Add dummy home page (React) that says "Welcome to CodeCrack ".
Add README.md update with instructions for running frontend & backend.
Add package.json scripts for easy start (npm run dev / npm run server).
Suggested Structure
CodeCrack/
│── backend/
│ ├── server.js
│ ├── routes/
│ ├── models/
│ └── controllers/
│
│── frontend/
│ ├── src/
│ ├── public/
│ └── package.json
│
│── .gitignore
│── README.md
│── package.json
Notes
Use Express.js for backend setup.
Use React (Vite) for frontend.
Keep the backend and frontend independent for now (later we can add proxy).