| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The Opbeans inventory management system is a demo app created and maintained by Elastic.
This application uses the following technologies:
Setup the following environment variables:
For a complete list of Elastic APM agent environment variables, see the offical documentation
For a complete list of PostgreSQL environment variables see the official documentation.
Populate the database with tables and basic data:
npm run db-setup
Generate random orders:
node db/generate_orders.js <num>
Where <num> is the amount of orders to create.
npm start
If NODE_ENV isn't production, running npm install will also clone, install and build [opbeats-frontend]. If you ever want to update the opbeans-frontend, just run:
npm run client-update
The simplest way to test this demo is by running:
make testTests are written using bats under the tests dir
Publish the docker image with
VERSION=1.2.3 make publishNOTE: VERSION refers to the tag for the docker image which will be published in the registry
The app have a built-in bug that you can trigger by navigating to the path /is-it-coffee-time.
The app have two npm scripts for adding a new customer:
Run either of the two scripts using npm run <name>.
If running inside docker, you can run it using docker compose, e.g:
docker compose exec opbeans-node npm run customer-add-redos
MIT
Made with ♥️ and ☕️ by Elastic.
| Back | FazBrowse Home | New Git URL |