This project is not longer maintained. You can Found the latest version of the code in the monorepo project on this link.
This is the administration frontend application of the Binary Coffee community.
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Expose environment variables
All the environment variables of the project can be found in the src/environments/environments.ts
file. If you want to change the value of some of these environments variables, you only need to have the environment in the system. In order to be possible to recognize the variable you need to put at the beginning the NG_
prefix, so if the variable name is apiUrl
you need to export the environment variable NG_API_URL
and this will be automatically inserted in the base.ts
file at the same level of the environment.ts
file.
Environment variables
NG_API_URL
: api urlNG_GRAPHQL_URL
: graphql urlNG_SITE_URL
: url where the project is exposeNG_PRODUCTION
: define if the application is running in production or not. By default:false
Build the project
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.
Any contribution is welcome, but please first read the CONTRIBUTING guide: CONTRIBUTING.md