fsdk Marketplace Tutorial
The code for this tutorial at the moment only supports fsdk v1.3.1 and fsdk Extender v1.7.2
Code for fsdk Marketplace Tutorial using fsdk Extender.
This includes the full fsdk server. If you want to install the marketplace into an existing fsdk server, please check out the fsdk Marketplace plugin instead.
Prerequisites
Before you run this code you'll need PostgreSQL and Redis installed.
Installation
After cloning the repository, install the dependencies:
npm i
Configuration
Copy .env.example
to .env
and add your database and Redis configurations as necessary.
Seed and Migrate Database
Run the following command to seed the database:
npm run seed
Before running migrations, make sure to run the build command:
npm run build
Then run the migrations
./node_modules/.bin/medex migrate --run
Running the Server
To run the server run the following command:
npm start