Building blocks for digital commerce
Create a new Postgres database and update the DATABASE_URL
in the /backend/.env
file.
Then navigate to the /backend
folder and run the following command to install the dependencies:
yarn
Since we have added a custom entity to the server, we need to build the migration in order for it to be loaded during the seeding of the database. To do this run the following command to build the migration:
yarn build:server
We can now seed the database, to do so run the following command:
yarn seed
Then, start the server:
yarn start
The start command will build the admin extension, the admin dashboard, and the start the server.
You can then navigate to the admin dashboard at http://localhost:9000/app
and login with the following credentials:
Email: admin@medusa-test.com
Password: supersecret
The demo shows the onboarding widgets flow. More description TBA :D