Skip to content

Files

Latest commit

 

History

History

backend-node-typescript

Backend-node-typescript

🇫🇷 Lire en français

Clone the Project

# Download the example or clone the repo from GitHub
git clone https://github.com/ganatan/angular-app.git

# Download the example or clone the repo from GitLab
git clone https://gitlab.com/ganatan/angular-app.git

# Change to the project directory
cd angular-app
cd backend-node-typescript

Installation

To install dependencies:

npm install

To check for outdated dependencies:

npm outdated

Start the Server in Development Mode

npm run start

In your browser, go to http://localhost:9000

Development

  • npm run start – Start the development server
  • npm run generate-structure – Generate and display the project structure

Linter

To lint the code with ESLint:

npm run lint

Tests

To run tests:

npm run test

To view test coverage:

npm run coverage

Compilation

To build the project with Webpack:

npm run build

Production

To start the server in production mode:

npm run serve

In your browser, go to http://localhost:3000