Skip to content

AbdSalehh/Movie-Catalogue

Repository files navigation

Github? Movie Catalogue! JS HTML CSS Visual Studio Code Windows OS

Packages

  • Webpack
  • Puppeteer
  • Karma
  • Service Worker
  • Workbox
  • Progressive Web Apps

Getting Started

Step 1

First, download the code above on the Code button, or you can also copy the above using the clone command as follows :

git clone https://github.com/AbdSalehh/Movie-Catalogue.git

Step 2

Second, install the packages needed to run the program via the following command :

npm install

you can also install using another package manager according to your use

Step 3

Third, do a production build to render the files needed at the development stage. You can do this using the following command :

npm run build

Step 4

Finally, run the following command to open on localhost :

npm run start-dev

After running, open http://localhost:9075/ in the browser. Enjoy :)


How to do integration testing ?

To perform tests using integration testing, simply run the following command :
npm run test

End to End testing

To test using end to end testing, make sure you have started development mode using the following command :
npm run start-dev

After that, you can do the test by running the following command :

npm run e2e