https://github.com/jvictorfarias/adonis-rest-api
Trainning AdonisJS framework
https://github.com/jvictorfarias/adonis-rest-api
Last synced: 7 months ago
JSON representation
Trainning AdonisJS framework
- Host: GitHub
- URL: https://github.com/jvictorfarias/adonis-rest-api
- Owner: jvictorfarias
- Created: 2020-04-10T10:27:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T17:58:09.000Z (almost 3 years ago)
- Last Synced: 2025-01-20T07:43:41.011Z (9 months ago)
- Language: JavaScript
- Size: 1.1 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
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
```