Simple example App with Angular 17.x
$ npm install
$ npm start
export const environment = {
production: false,
endpointApi: 'url-endpoint',
};
Run ng serve
for a dev server or alias ng s
.
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Or Command from terminal:
$ open -n http://localhost:4200/
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.