This application is an example of a CRUD (Create, Read, Update, Delete) system developed using Angular. It allows users to view, create, modify, and delete items from an intuitive user interface.
- Displaying a list of existing items.
- Creating a new item.
- Modifying the details of an existing item.
- Deleting an item.
- Angular: JavaScript framework for client-side application development.
- HTML/CSS: Markup and styling languages for the structure and presentation of the user interface.
- TypeScript: Typed programming language used to write Angular code.
- Angular CLI: Command-line interface for Angular, used to generate components, services, etc.
- Bootstrap: CSS framework for designing the user interface.
- JSON Server: Tool for creating a RESTful server from a JSON file to facilitate development and testing.
- Clone this repository to your local machine.
- Ensure you have Node.js and npm installed.
- Run
npm install
to install project dependencies. - Run
npm install -g json-server
to install JSON Server globally on your machine. - Navigate to the
server
directory and create a JSON file to simulate your database. - Run
json-server --watch db.json
to start JSON Server and simulate a REST API. - Return to the project root and run
ng serve
to launch the Angular application. Navigate tohttp://localhost:4200/
.
src/app/components
: Contains Angular components of the application.src/app/services
: Contains Angular services used for business logic and HTTP calls.src/app/models
: Contains data models used by the application.src/app/shared
: Contains shared elements such as components, directives, pipes, etc.src/assets
: Contains static resources such as images, CSS files, etc.server
: Contains the simulated JSON file for the JSON Server.