This project is a record management system built using Angular on the frontend and Node.js on the backend. It allows users to manage and display records using sampledata.json as the data source.
Before running this project, make sure you have the following installed:
- Node.js
- Angular CLI
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Install the dependencies by running the command
npm install
. - Start the backend server by running
node server.js
. - In a separate terminal, navigate to the
frontend
directory. - Install the frontend dependencies by running
npm install
. - Start the Angular development server by running
ng serve
. - Open your browser and navigate to
http://localhost:4200
to access the application.
- Display records from the sampledata.json file.
- Add new records.
- Edit existing records.
- Delete records.
├── backend
│ ├── server.js
│ └── sampledata.json
└── frontend
├── src
│ ├── app
│ │ ├── components
│ │ │ ├── record-list
│ │ │ │ ├── record-list.component.ts
│ │ │ │ └── record-list.component.html
│ │ │ ├── record-form
│ │ │ │ ├── record-form.component.ts
│ │ │ │ └── record-form.component.html
│ │ │ └── ...
│ │ ├── services
│ │ │ └── record.service.ts
│ │ └── ...
│ ├── assets
│ └── ...
└── ...
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
angular-task
├─ client
│ ├─ .angular
│ │
│ ├─ .editorconfig
│
│ ├─ angular.json
│ ├─ package-lock.json
│ ├─ package.json
│ ├─ public
│ │ └─ favicon.ico
│ ├─ README.md
│ ├─ server.ts
│ ├─ src
│ │ ├─ app
│ │ │ ├─ app.component.css
│ │ │ ├─ app.component.html
│ │ │ ├─ app.component.spec.ts
│ │ │ ├─ app.component.ts
│ │ │ ├─ app.config.server.ts
│ │ │ ├─ app.config.ts
│ │ │ ├─ app.routes.ts
│ │ │ ├─ data.service.spec.ts
│ │ │ ├─ data.service.ts
│ │ │ └─ home
│ │ │ ├─ home.component.css
│ │ │ ├─ home.component.html
│ │ │ ├─ home.component.spec.ts
│ │ │ ├─ home.component.ts
│ │ │ ├─ pagination
│ │ │ │ ├─ pagination.component.css
│ │ │ │ ├─ pagination.component.html
│ │ │ │ ├─ pagination.component.spec.ts
│ │ │ │ └─ pagination.component.ts
│ │ │ └─ table
│ │ │ ├─ table.component.css
│ │ │ ├─ table.component.html
│ │ │ ├─ table.component.spec.ts
│ │ │ └─ table.component.ts
│ │ ├─ index.html
│ │ ├─ main.server.ts
│ │ ├─ main.ts
│ │ └─ styles.css
│ ├─ tsconfig.app.json
│ ├─ tsconfig.json
│ └─ tsconfig.spec.json
├─ README.md
└─ server
├─ data.json
├─ package-lock.json
├─ package.json
└─ server.js