Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafamancan/adonis_api
Creating an API base on AdonisJS with TDD
https://github.com/rafamancan/adonis_api
Last synced: 20 days 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T22:32:31.000Z (almost 2 years ago)
- Last Synced: 2024-12-16T02:02:28.436Z (24 days ago)
- Language: JavaScript
- Size: 545 KB
- Stars: 2
- Watchers: 2
- 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
```