https://github.com/rafamancan/adonis_api
Creating an API base on AdonisJS with TDD
https://github.com/rafamancan/adonis_api
Last synced: 3 months ago
JSON representation
Creating an API base on AdonisJS with TDD
- Host: GitHub
- URL: https://github.com/rafamancan/adonis_api
- Owner: rafamancan
- Created: 2019-09-12T17:06:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T22:32:31.000Z (over 2 years ago)
- Last Synced: 2025-03-29T10:12:09.700Z (3 months ago)
- Language: JavaScript
- Size: 545 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
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
```