https://github.com/rocketseat-content/blog-adonis-reactjs-react-native-airbnb
API developed in the series of post about recreating the Airbnb interface with AdonisJS, ReactJS e React Native
https://github.com/rocketseat-content/blog-adonis-reactjs-react-native-airbnb
adonisjs airbnb api blog
Last synced: 5 months ago
JSON representation
API developed in the series of post about recreating the Airbnb interface with AdonisJS, ReactJS e React Native
- Host: GitHub
- URL: https://github.com/rocketseat-content/blog-adonis-reactjs-react-native-airbnb
- Owner: rocketseat-content
- Created: 2018-06-27T23:15:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T16:59:34.000Z (about 7 years ago)
- Last Synced: 2025-05-12T12:53:43.450Z (5 months ago)
- Topics: adonisjs, airbnb, api, blog
- Language: JavaScript
- Homepage: https://blog.rocketseat.com.br/adonis-auth-jwt-api-rest/
- Size: 59.6 KB
- Stars: 55
- Watchers: 6
- Forks: 18
- Open Issues: 0
-
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
```