Skip to content

Commit 7238a7d

Browse files
authored
Merge pull request #78 from r-spacex/koa
Migration from Express to Koa
2 parents 3ee5c38 + 2bb9f05 commit 7238a7d

33 files changed

+701
-734
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"rules": {
1414
"no-console":0,
1515
"space-infix-ops": "error",
16+
"prefer-destructuring": 0,
1617
"eol-last": ["error", "always"],
1718
"prefer-arrow-callback": "error",
1819
"padded-blocks": ["error", "never"],

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ See the [Wiki](https://github.com/r-spacex/SpaceX-API/wiki) for full API Documen
2424
**Example Response**
2525

2626
```http
27-
GET https://api.spacexdata.com/v2/launches/latest?pretty
27+
GET https://api.spacexdata.com/v2/launches/latest
2828
```
2929

3030
```json
@@ -104,7 +104,7 @@ See the [Contribution](https://github.com/r-spacex/SpaceX-API/blob/master/CONTRI
104104
Local development info can be found [here](https://github.com/r-spacex/SpaceX-API/wiki/Local-Development)
105105

106106
## Technical Details
107-
* API is using [Node.js](https://nodejs.org/en/) with the [Express.js](https://expressjs.com/) framework
107+
* API is using [Node.js](https://nodejs.org/en/) with the [Koa](http://koajs.com/) framework
108108
* All data stored in a [MongoDB Atlas](https://www.mongodb.com/cloud/atlas) 3 node replica set cluster
109109
* Latest database mongodump available [here](https://drive.google.com/drive/folders/0B2DdgKR4GR4xdk1sRGowcUZXeE0?usp=sharing)
110110
* Uses [Redis](https://redis.io/) for route caching
@@ -113,7 +113,6 @@ Local development info can be found [here](https://github.com/r-spacex/SpaceX-AP
113113
* API deployed on a [Heroku](https://www.heroku.com/) pipeline with pull request, staging and production servers
114114

115115
## FAQ's
116-
* All json responses can be pretty printed with the optional `pretty` querystring
117116
* If you have any questions or corrections, please open an issue and we'll get it merged ASAP
118117
* All data and photos are property of Space Exploration Technologies Corporation (SpaceX)
119118
* I am not affiliated with SpaceX in any way, shape, form, or fashion. Just a fun side project for me

0 commit comments

Comments
 (0)