Mini-Netflix

  • This project intends to choose a front-end framework to execute. I choose Angular to it.

  • This project was generated with Angular CLI version 9.1.2.


Table of Contents


Used technologies

Angular;
SCSS;
BEM Architecture to SCSS files;
Cypress to e2e;
Docker.

Required installation

  • If you dont have been installed yet, on command line do as follow:
$ sudo apt install nodejs
$ npm/yarn install -g @angular/cli

Installing packages

$ npm/yarn install

Running frontend

$ ng serve -o

Running Cypress

  • Execute the integration test via Cypress;
  • On another command line do as follow, with development server online http://localhost:4200/.
$ npm/yarn run cy

Running unit tests

  • Execute the unit tests via Karma.
$ ng test

Using Docker

  • Automate past processes with following command:
$ sudo docker-compose up

Users Mock logins

'User One': {
  email: 'dev@test.com',
  password: 123456,
},
'User Two': {
  email: 'sup@test.com',
  password: 123456,
}

To do

1. Implement more unit tests;
2. Do more movies services;
3. Add more @media-queries;
4. Create an nodejs API with express to give movies data.

Author

  • Bruno Ramires de Moraes Ferreira - GitHub

    Imagem do Autor Bruno Ramires