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