This project is a simple phone book application that allows users to Create, Read, Update, and Delete (CRUD) contacts. Each contact has a unique ID, name, and phone number.
The application is built using the following technologies:
- React (v18.2.0): A JavaScript library for building user interfaces.
- TypeScript (v5.0.2): A typed superset of JavaScript that compiles to plain JavaScript.
- Vite (v4.3.9): A build tool that aims to provide a faster and leaner development experience for modern web projects.
- Node.js
- npm
-
Clone the repository:
git clone https://github.com/g5l/phone-book.git
-
Navigate into the project directory:
cd phone-book
-
Install the dependencies:
npm install
npm run dev
: Runs the app in development mode with hot-reloading enabled.npm run build
: Compiles TypeScript files and builds the app for production to thedist
folder.npm run lint
: Lints and checks the code for any syntax errors.npm run preview
: Starts a local server for previewing the production build.