- Run
yarn
to install packages - Install and run Redis
- Install and run Postgres DB server
- Create DB user:
abzen
with passwordabzen
: - Create DB:
abzen_dev
$ psql postgres postgres=# CREATE USER abzen WITH PASSWORD 'abzen'; postgres=# CREATE DATABASE abzen_dev OWNER abzen;
- Run migrations:
yarn run admin-server:migrate
- Start:
yarn start
This project was generated using Nx.
- React
npm install --save-dev @nrwl/react
- Web (no framework frontends)
npm install --save-dev @nrwl/web
- Node
npm install --save-dev @nrwl/node
Run nx g @nrwl/react:app my-app
to generate an application.
You can use any of the plugins above to generate applications as well.
When using Nx, you can create multiple applications and libraries in the same workspace.
Run nx g @nrwl/react:lib my-lib
to generate a library.
You can also use any of the plugins above to generate libraries as well.
Libraries are sharable across libraries and applications. They can be imported from @abzen/mylib
.