A fun Express mini-project, a simple math API server.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Luiserebii efb84d4a40
Fleshed out new passing 'failure on no n passed' test, fixed a minor bug. Added 404 test, but failing
2 年前
routes Fleshed out new passing 'failure on no n passed' test, fixed a minor bug. Added 404 test, but failing 2 年前
src Added basic express app.js, and created app_v1.js file in routes 2 年前
test Fleshed out new passing 'failure on no n passed' test, fixed a minor bug. Added 404 test, but failing 2 年前
README.md Added README.md 2 年前
app.js Added basic routing and 404 middleware, along with app.listen 2 年前
package-lock.json Messing with supertest... some things failing, some things working 2 年前
package.json Changed test script to "mocha --exit" (seems to work?) 2 年前

README.md

MathFun Express Server

A fun mini-project in Express. Currently implements two fibonacci functions and returns results in JSON.

This is currently hosted at: http://serebii.io:3000/ Example query: http://serebii.io:3000/v1/fibonacci?n=10