'Edufami - Api' is the API restfull app for all the apps of Edufami. Edufami is created by WFP - Colombia.
- Install yarn
- Follow all the steps in Loopback 3.x Installation section.
- Install dependencies:
yarn install
- Install MySQL and create a new database
- Open the file named
datasources.local.json
and update it with the information of your database (i.e){ "mysqlDs": { "host": "localhost", "port": 3306, "url": "", "database": "edufami_local", "password": "myPassword", "name": "mysqlDs", "user": "myUser", "connector": "mysql" } }
- Update database structure in the local environment:
yarn run update-models
- Create sample data
yarn run create-sample-data