Open angrycaptain19 opened 2 weeks ago
@sourcery-ai plan
.gitignore
file with common exclusions for Node.js and frontend build artifactscontrollers
, models
, and routes
folderscomponents
, services
, and assets
foldersREADME.md
with project overview and setup instructionsnpm init -y
- ✅npm install express cors dotenv
- ✅.gitignore
to ignore files associated with: node
npx create-react-app frontend --template typescript
- ✅.gitignore
to ignore files associated with: react
.gitignore
node_modules
, .env
, build directories, and IDE filesbackend/package.json
express
, cors
, dotenv
as dependenciesbackend/src/server.ts
backend/src/routes/index.ts
backend/src/controllers/index.ts
backend/src/models/index.ts
backend/.env.example
frontend/src/components/index.ts
frontend/src/services/index.ts
frontend/src/assets/index.ts
README.md
backend/tsconfig.json
This plan was automatically generated. Please review the plan carefully and make any necessary adjustments.
@sourcery-ai develop
Set up the initial GitHub repository for the EcoTrack project and establish the basic project structure for both the backend and frontend components.
Tasks:
Set up a .gitignore file to exclude unnecessary files (e.g., node_modules, environment variables). Backend Setup:
Choose a backend framework (e.g., Node.js with Express).
Initialize the backend project with the chosen framework.
Organize the backend file structure following best practices (e.g., separate folders for controllers, models, routes). Frontend Setup:
Choose a frontend framework (e.g., React).
Initialize the frontend project with the chosen framework.
Organize the frontend file structure appropriately (e.g., components, services, assets). Documentation:
Update the README.md with instructions on how to set up the development environment.
Document the project's overall structure and any initial decisions made. Acceptance Criteria:
The backend and frontend are set up with their respective frameworks.
The project has a clear and organized directory structure.
The .gitignore file effectively excludes unnecessary files.
The README.md contains setup instructions and a project overview.