Skip to content

WFPColombia/edufami-api

Repository files navigation

Edufami - Api

Introduction

'Edufami - Api' is the API restfull app for all the apps of Edufami. Edufami is created by WFP - Colombia.

Setup

  1. Install yarn
  2. Follow all the steps in Loopback 3.x Installation section.
  3. Install dependencies:
    yarn install
  4. Install MySQL and create a new database
  5. 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"
      }
    }
  6. Update database structure in the local environment:
    yarn run update-models
  7. Create sample data
    yarn run create-sample-data

Reference

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published