System administration page with React + AdminJS, NodeJS and Postgres.
-
Install dependencies:
yarn install or npm install
-
Configure Environment Variables:
- Create a new
.env
file from.env.example
.
- Create a new
-
Up Docker Containers (Docker must be installed):
- Use Samurai Dev Guide To Configure Steps 3 and 4.
yarn docker:up
-
Access PgAdmin To Register Database:
- pgAdmin: http://localhost:8000
-
Run Database Migrate Scripts:
yarn db:migrate
-
Run Seeds Scripts To Create Default Users: http://localhost:5000/admin
npx sequelize-cli db:seed:all
-
Start Project and Go To The Home Page: http://localhost:5000/admin
yarn dev