npm install
replace api key marvel src\environments\environment.ts and src\environments\environment.prod.ts
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run npm run db
for a db server api. Navigate to http://localhost:3000/
.
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.
ng build --prod --base-href ./ (deploy)