https://github.com/iamraphson/adonisjs-restful-api
https://github.com/iamraphson/adonisjs-restful-api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/iamraphson/adonisjs-restful-api
- Owner: iamraphson
- License: mit
- Created: 2017-09-30T20:22:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-30T20:31:58.000Z (over 8 years ago)
- Last Synced: 2025-03-25T13:39:11.003Z (over 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Adonis API application
This is the boilerplate for creating an API server in AdonisJs, 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
```bash
adonis new yardstick --api-only
```
or manually clone the repo and then run `npm install`.
### Migrations
Run the following command to run startup migrations.
```js
adonis migration:run
```