This project is a simple CRUD (Create, Read, Update, Delete) application built with Vite, React, and TypeScript. It serves as a boilerplate for quickly setting up a web application with modern development tools.
- Node.js (v14 or later)
- npm (v7 or later)
-
Clone the repository:
git clone https://github.com/your-username/vite-react-ts-crud-app.git cd vite-react-ts-crud-app
-
Install dependencies:
npm install
To run the development server, use the following command:
npm run dev
To build the production-ready application, use the following command:
npm run build
The output will be available in the dist directory.
- Vite: Fast development with instant server start and optimized build.
- React: A JavaScript library for building user interfaces.
- TypeScript: A superset of JavaScript that adds static typing.
- CRUD Operations: Perform Create, Read, Update, and Delete operations.
- Responsive Design: The application is designed to work on various screen sizes.
src/
: Contains the source code for the application.components/
: Reusable React components.pages/
: Individual pages or views for the application.context/
: Context for data fetching and manipulation.index.css/
: Styling the components.App.tsx
: The main entry point of the application.
public/
: Static assets and HTML template.vite.config.ts
: Configuration file for Vite.
Feel free to contribute by opening issues, providing feedback, or submitting pull requests. Follow the contribution guidelines for details.