Example application using adminjs
You can check out the current demo version at: https://admin-bro-example-app-staging.herokuapp.com/admin/login
login: test@example.com
password: password
To run the demo locally you have to have installed:
- mongodb
- postgresql
Also in ENV you have to have following entries:
- MONGO_URL
- PORT - default to 8080
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_PORT - default to 5432
- POSTGRES_DATABASE - default to 'database_development'
- POSTGRES_HOST - default to 'postgres'
there is a .env-example file in the repo, which can be used as a reference.
First, install all dependencies
yarn install
Make sure you have all environmental variables set up (read the previous paragraph).
Then create postgres database and run migrations:
yarn run sequelize db:create
yarn run sequelize db:migrate
In the end, you can launch the app
yarn start
The best way of developing the app is to do this via https://github.com/SoftwareBrothers/adminjs-dev.
AdminJS is Copyright © 2018 SoftwareBrothers.co. It is free software, and may be redistributed under the terms specified in the LICENSE file.
We’re an open, friendly team that helps clients from all over the world to transform their businesses and create astonishing products.
- We are available to hire.
- If you want to work for us - check out the career page.