Skip to content
☁ Blueprint for running AdonisJs on the Now.sh serverless provider.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
database
start
.editorconfig
.env.example
.gitignore
README.md
ace
package-lock.json
package.json
server.js

README.md

Adonis serverless API application

This is the boilerplate for creating an serverless API server in AdonisJs and Now.sh, it comes pre-configured with.

  1. Bodyparser
  2. Authentication
  3. CORS
  4. Lucid ORM
  5. Migrations and seeds

Setup

Use the adonis command to install the blueprint

adonis new yardstick --blueprint=MatheusMK3/serverless-adonis

or manually clone the repo and then run npm install followed by adonis deployment:prepare to configure your Now.sh project and alias.

For more details regarding usage, please refer to the following guide: https://blog.matheus.io/serverless-adonis-in-zeit-now/

Migrations

Run the following command to run startup migrations.

adonis migration:run
You can’t perform that action at this time.