This repository was created in order to training to automation testing practices from scratch.
This repository is only the Front End, please check the back repository in order to have all the application
This applications is thinking to deploy in Heroku and uses the following environment varibles:
Env Variable | Description | Value |
---|---|---|
BASE_URL | The backend URL | |
NODE_BUILD_FLAGS | Setting this variable will run ng build in the build step instead | --prod |
Note 1: In order to set these environment variables in Heroku check the documentation
Note 2: Note that these variables are injected at build time if needs to change their values must redeploy the application
Run the following commands:
git remote add upstream git@github.com:AgileTestingColombia/books-ui.git
git pull upstream main
If you have altered it, you then need to rebase it.
git rebase upstream/main
This project was generated with Angular CLI version 11.1.4.
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 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.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.