https://github.com/reflexdemon/reflex-math
Simple Math Problems API
https://github.com/reflexdemon/reflex-math
Last synced: 8 months ago
JSON representation
Simple Math Problems API
- Host: GitHub
- URL: https://github.com/reflexdemon/reflex-math
- Owner: reflexdemon
- Created: 2019-08-16T17:32:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T18:10:42.000Z (over 2 years ago)
- Last Synced: 2025-01-05T00:28:31.130Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://reflex-math.vpv.io
- Size: 2.57 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reflex-math
Reflex Math API
## Get Started
Get started developing...
```shell
# install deps
npm install
# run in development mode
npm run dev
# run tests
npm run test
```
## Install Dependencies
Install all package dependencies (one time operation)
```shell
npm install
```
## Run It
#### Run in *development* mode:
Runs the application is development mode. Should not be used in production
```shell
npm run dev
```
or debug it
```shell
npm run dev:debug
```
#### Run in *production* mode:
Compiles the application and starts it in production production mode.
```shell
npm run compile
npm start
```
## Test It
Run the Mocha unit tests
```shell
npm test
```
or debug them
```shell
npm run test:debug
```
## Try It
* Open you're browser to [http://localhost:3000](http://localhost:3000)
* Invoke the `/examples` endpoint
```shell
curl http://localhost:3000/api/v1/examples
```
## Debug It
#### Debug the server:
```
npm run dev:debug
```
#### Debug Tests
```
npm run test:debug
```
#### Debug with VSCode
Add these [contents](https://github.com/cdimascio/generator-express-no-stress/blob/next/assets/.vscode/launch.json) to your `.vscode/launch.json` file
## Lint It
View prettier linter output
```
npm run lint
```
Fix all prettier linter errors
```
npm run lint
```
## Deploy It
Deploy to CloudFoundry
```shell
cf push reflex-math
```