https://github.com/coreprocess/logger-example
A complete showcase regarding babel-plugin-js-logger.
https://github.com/coreprocess/logger-example
Last synced: 11 months ago
JSON representation
A complete showcase regarding babel-plugin-js-logger.
- Host: GitHub
- URL: https://github.com/coreprocess/logger-example
- Owner: coreprocess
- Created: 2017-06-20T18:34:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-12T00:05:13.000Z (almost 3 years ago)
- Last Synced: 2025-01-17T06:27:40.062Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 222 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# babel-plugin-js-logger - The Showcase
```
# Install the required modules
yarn
# ... or the old fashioned way
npm install
# build backend and frontend with logging messages
npm run build-dev
# ... or without logging messages
npm run build-prod
# Note: we use the transform-inline-environment-variables plugin to bake
# the environment variables into the code. We use this approach to make
# the logging configurable via the NODE_ENV variable. Of course you are free
# to use a different approach.
# Run the backend
npm start
# Open the frontend in your default browser:
xdg-open http://localhost:3000/
```