Skip to content
On this page

In order to create your own Wellms backend REST API you have few options

API Project with makefile CLI and docker

Option 1. composer create

  1. composer create-project escolallms/api wellms
  2. That creates a project in wellms folder

Option 2. Cloning repo

  1. git clone git@github.com:EscolaLMS/API.git
  2. That creates a project in wellms folder

Using makefile commands

Inside the folder run make init

There are some assumptions to make command above works file

This should install you default application with the following credentials

RoleEmail IDPassword
Adminadmin@escolalms.comsecret
Tutortutor@escolalms.comsecret
Studentstudent@escolalms.comsecret

Application will be accessible on http://localhost:1001 You should see API documentation (Swagger UI) at http://localhost:1001/api/documentation#/

Now you can add your code as you could in standard Laravel Application

Without docker

  1. Clone repo https://github.com/EscolaLMS/API on your machine
  2. Create your .env file base on the example .env.example
  3. Follow the installation like standard Laravel Application installation
  4. Configure queues and scheduling
  5. Add CORS definition to your server (those are static files that are not handled by Laravel) for h5p files, see https://github.com/EscolaLMS/H5P#cors

Seeding content