This project was generated with Angular CLI version 17.1.1.
Local Env
environment = {
production: false,
PORT: 4000 | xxxx,
SERVER: "http://localhost:4004" | vercel | render
};
Prod Env
environment = {
production: true,
PORT: 4000 | xxxx,
SERVER: "https://json-server-product-master.vercel.app"
};
Run npm run dev
for a dev server.
Run npm run server
for a dev api (json-server).
Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
Vercel: Product Master