This is a test project that displays products from Product Hunt API on a certain day (with DatePicker material and PieChart from chart.js module). Frontend: Angular (version 9.0.2) Backend: NodeJS (version 12.13.1) API: https://api.producthunt.com/v2/docs
git clone https://github.com/kodeklaude/ProductHunt.git
cd ProductHunt
Install the npm
packages described in the package.json
and verify that it works:
npm install
npm start
Run npm run serve
to run (concurrently) the express server and Angular's dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
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.
Run ng test
to execute the unit tests via Karma.