This is an example for creating an image carousel with Angular version 8.3.16 10.0.10.
Originally created with Angular 8.3.16
Images courtesy of Unsplash
This application in its entirety can be served locally in development by running:
npm run angular
The development server runs at http://localhost:5000
.
After building, the compiled angular application is served using Express. The Express server is written in Typescript and must be compiled with tsc. Do not run node .
to create the server.
Start the application using the npm start script:
npm start
# or
npm run start
The application must be run using the npm start script as the Express server is compiled to JS when the start script is run.
Build the application with:
npm run build:dev # Builds the application with development configuration
npm run build # Builds the application for production