Skip to content

This is the Front-end base project in Angular for the Software and Systems Engineering discipline, offered by the Informatics Center (CIn) of the Federal University of Pernambuco (UFPE).

Notifications You must be signed in to change notification settings

Software-Engineering-Assistantship/frontend-angular-ess

Repository files navigation

ESS Front-end Angular

This is the Front-end base project in Angular for the Software and Systems Engineering discipline, offered by the Informatics Center (CIn) of the Federal University of Pernambuco (UFPE).

Table of Contents

  1. Getting Started
  2. Running the tests
  3. Scripts
  4. Dependencies
  5. Architecture

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To run this project, you'll need to have the following software installed on your system:

  • Node.js
  • npm (Node Package Manager)

Installing

Clone the repository and install the dependencies by running the following command in the project directory:

npm install

Running the App

To start the app, run the following command:

npm start

This command will run the Angular app.

Running the tests

There are two types of tests configured in the base project: unit tests using Jest and E2E acceptance tests using Cypress with Cucumber.

To run unit tests individually, you can easily use the VScode extension Jest Run It. If you want to run all the unit tests suite, you can run:

npm test

To run unit tests in watch mode

npm run test:watch

To run E2E acceptance tests, you need to have the app running. Therefore, make sure to initiate the app before running the tests.

To run E2E tests in interactive mode

npm run cy:open-e2e

To run E2E tests in headless mode

npm run cy:run-e2e

Scripts

The following scripts are available in the package.json file:

  • start: Runs the app in development mode.
  • build: Compiles the TypeScript code.
  • test: Runs the Jest tests for the project.
  • prettier: Formats the code using Prettier.
  • lint: Lints the code using ESLint.

Dependencies

The following dependencies are used in the project:

  • Angular CLI v16.1.3: Angular is a JavaScript library for building user interfaces.
  • Angular Material v16.1.3: Material Design components for Angular.

Architecture

To understand and learn more details about the structure of the project, click here to be redirected to the README that contains this information.

About

This is the Front-end base project in Angular for the Software and Systems Engineering discipline, offered by the Informatics Center (CIn) of the Federal University of Pernambuco (UFPE).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published