https://github.com/poorlydefinedbehaviour/adonis-course
https://github.com/poorlydefinedbehaviour/adonis-course
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/poorlydefinedbehaviour/adonis-course
- Owner: PoorlyDefinedBehaviour
- Created: 2020-01-21T03:14:07.000Z (over 5 years ago)
- Default Branch: development
- Last Pushed: 2023-01-24T04:37:31.000Z (over 2 years ago)
- Last Synced: 2024-12-26T00:11:01.556Z (7 months ago)
- Language: JavaScript
- Size: 2.26 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Things to do on my own
> Add tests
> Add docker
> Add CI# 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
```