This project is a simple integration between Angular, PrimeNG, and the CRUD API service provided by crudcrud.com. It is intended for educational purposes only.
The Table CRUD with PrimeNG integration allows users to perform CRUD operations (Create, Read, Update, and Delete) on a table of to-do items. The table displays the item's description and status, and users can edit or delete items directly from the table.
To use this project, you will need an API key from crudcrud.com. If you have exhausted the list of requests for your current key, you will need to obtain a new key. To do so, open a new incognito window in your browser and navigate to crudcrud.com. Generate a new API key, and copy it to the apiKey
variable in the api/todo.service.ts
file.
To run this project, you will need to have Node.js installed on your machine.
- Clone the project repository to your local machine.
- Open a terminal and navigate to the project directory.
- Run the command
npm install
to install the project's dependencies. - Once the dependencies are installed, run the command
ng serve
to start the development server. - Navigate to
http://localhost:4200/crud
in your web browser to view the project.