is end at frontA React frontend for Craft & Graft project.
- React with TypeScript support (JavaScript allowed)
- Uses ES6 module syntax (
import
instead ofrequire
) - Designed to work with an Express backend
- Built with Vite for fast development and optimized production builds
- Can be run without compiling using
nodemon
andtsx
- Step 1: Install dependencies:
npm install
- Step 2: Start the development server:
npm run dev
- Step 3: Build for production:
npm run build
- Step 4: Run without compiling (using
nodemon
andtsx
):
npm run start:dev
PRO04 Front/
├── src/
│ ├── components/
│ ├── pages/
│ ├── App.tsx
│ ├── main.tsx
│ └── vite-env.d.ts
├── public/
├── index.html
├── package.json
├── tsconfig.json
├── tsconfig.node.json
├── vite.config.ts
└── README.md
dev
: Run the development serverbuild
: Build for productionstart:dev
: Run without compiling usingnodemon
andtsx
preview
: Preview the production build locally
- React
- React DOM
- TypeScript
- Vite
- Nodemon
- TSX
For a complete list of dependencies, please refer to the package.json
file.