/library

Primary LanguageTypeScript

Angular-Nest.js Library Manager

This project contains a small application with limited functionality for managing a collection of books.

It provides a simple CRUD API created with Nest.js, and an Angular frontend allowing users to add, edit, and retrieve books.

Project Structure

The project is structured into two main directories:

  • app: Contains the Nest.js backend application
  • ui: Contains the Angular frontend for the application

For more information about each of these applications, please see their associated README files

Getting Started

Prerequisites

Building and Running the Applications

  1. Install dependencies:

    cd app && yarn install
    cd ui && yarn install
  2. Build and start the applications using Docker Compose:

    docker-compose up --build
  3. Access the applications:

Database

A MongoDB instance is included in the docker-compose.yml file, and the Nest.js application is configured to interact with MongoDB using Mongoose. The connection URL is configured in the docker-compose.yml file.