This is the boilerplate for creating an API server in AdonisJs, it comes pre-configured with.
Use the adonis command to install the blueprint
adonis new yardstick --api-only
or manually clone the repo and then run npm install.
Run the following command to run startup migrations.
adonis migration:run
const Mail = use('Mail')
await Mail.send('emails.welcome', {}, (message) => {
message.from('[email protected]')
message.to('[email protected]')
})
Content type
Image
Digest
Size
291.6 MB
Last updated
over 7 years ago
docker pull jaeger767/siteweb4-api