Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binary-coffee-dev/dcs-admin-frontend
https://github.com/binary-coffee-dev/dcs-admin-frontend
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/binary-coffee-dev/dcs-admin-frontend
- Owner: binary-coffee-dev
- License: other
- Archived: true
- Created: 2020-01-14T14:12:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T10:12:59.000Z (about 3 years ago)
- Last Synced: 2024-05-20T03:19:19.457Z (7 months ago)
- Language: CSS
- Size: 2.89 MB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-PREVIOUS.md
Awesome Lists containing this project
- cuban-opensource - Binary Coffee Admin Frontend - coffee.dev> (Web Applications / Desktop)
README
# This project is not longer maintained. You can Found the latest version of the code in the monorepo project on this [link](https://github.com/dcs-community/dcs-frontend).
# Binary Coffee Administration frontend application
This is the administration frontend application of the Binary Coffee community.
## Start application
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.
## Build
**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 url
- `NG_GRAPHQL_URL`: graphql url
- `NG_SITE_URL`: url where the project is expose
- `NG_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.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Contributing
Any contribution is welcome, but please first read the CONTRIBUTING guide: [CONTRIBUTING.md](https://github.com/dcs-community/dcs-admin-frontend/blob/master/CONTRIBUTING.md)