Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/einstore/einstoreadmin
Web app admin panel for Einstore API
https://github.com/einstore/einstoreadmin
appstore einstore enterprise vapor
Last synced: 3 months ago
JSON representation
Web app admin panel for Einstore API
- Host: GitHub
- URL: https://github.com/einstore/einstoreadmin
- Owner: Einstore
- License: apache-2.0
- Created: 2019-04-02T13:07:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T18:57:50.000Z (about 2 years ago)
- Last Synced: 2023-03-02T17:02:49.846Z (almost 2 years ago)
- Topics: appstore, einstore, enterprise, vapor
- Language: TypeScript
- Homepage: https://www.einstore.io/
- Size: 5.2 MB
- Stars: 1
- Watchers: 4
- Forks: 4
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Einstore web admin UI
[](https://circleci.com/gh/Einstore/EinstoreAdmin/tree/master)
## Trying Einstore
If you want to just try Einstore go to https://github.com/Einstore/Einstore for the easiest setup with Docker.
This repository is for customizing the admin UI.## Docker-compose
Use `make`, `make help` prints all avaible commands.
[Direnv](https://direnv.net) is used for adding `bin-docker` to PATH
Ports are exposed using `docker-compose.override.yaml`
For initial login in basic data is email `[email protected]`, default password: `sup3rS3cr3t`
## Install
- `yarn install` Install all dependencies
## Usage
In the project directory, you can run:
### Make helper scripts
```
Usage:
makeTargets:
help Display this help
yarn-install Runs yarn install in docker
up Does docker-compose up, automaticly create docker-compose.override.yaml
update Update to the latest docker images
clean Deletes all containers and volumes. WILL DROP ALL DB DATA
install-db Install basic data
install-demo Install demo data
direnv Create .envrc for bin-docker
local Start against local development API server
```### YARN
#### `yarn start`
- You need to provide URL to Einstore API with env variable:
```sh
# Your local API
REACT_APP_API_URL=http://localhost:8080 yarn start# or just the following using our Makefile
make local# Try our running demo
REACT_APP_API_URL=https://demo.einstore.io/api yarn start
```Runs the app in development mode.
Open [http://localhost:3000](http://localhost:3000) to view in the browser.The page will reload, should you make edits, on file save.
You will also see any lint errors in the console.##### Test run, connected to our demo API
REACT_APP_API_URL=https://demo.einstore.io/api yarn start##### Run with SENTRY_DSN
REACT_APP_API_URL=https://demo.einstore.io/api REACT_APP_SENTRY_DSN=https://[email protected]/your-project yarn start#### `yarn test`
Launches the test runner in the interactive watch mode.
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.#### `yarn build`
Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.The build is minified and the filenames include the hashes.
Your app is ready to be deployed!> **Warning!** By default `yarn build` expects you to manually replace `%REACT_APP_API_URL%` inside `public/index.html` with URL to EinstoreCore API. Or you can provide it with env variable in build command.