Skip to content

alexsds/angular-nestjs-invoices

Repository files navigation

Invoices

dark.png

An application to manage invoices.

Project Requirements

A high-level project plan

Technology stack

  • Frontend - Angular (v15.2.0)
  • State management - NgRx (v15.3.0)
  • UI component library - Angular Material (v15.2.1)
  • Backend - NestJS (v9.0.0)
  • Node.js - v18.15.0 (latest LTS)

Demo

UI

https://angular-nestjs-invoices.web.app/

API

https://angular-nestjs-invoices-api.vercel.app/

API Endpoints

Invoices CRUD

Find all

GET /invoice

Find one

GET /invoice/:id

Update

PUT /invoice/:id

Remove

DELETE /invoice/:id

Helpers

Clean Data (Remove all invoices)

GET /clean

Reset Data (Create test invoices)

GET /reset

Local development

UI

http://localhost:4200/

Installation

cd frontend
npm install

Start with mock data

npm run start

Start with local API

npm run start:api

Build

npm run build

API

http://localhost:3000/

Installation

cd backend
npm install

Start server

npm run start

Build

npm run build

CI/CD

Actions