1.2.1 • Published 2 years ago

@speedingplanet/rest-server v1.2.1

Weekly downloads
56
License
ISC
Repository
github
Last release
2 years ago

Speeding Planet's REST server

Eventually intended to be an easily reusable and configurable REST server with data appropriate for demonstration use in class.

Generating data

From the command line

node src/generate.js users <amount> transactions <amount>

Even just running node src/generate.js will give you hints on how to run the generator file.

The number of transactions should, generally, be bigger than the number of users.

Loads users from the data/seeds folder. If the user amount is greater than the number of seed users, new users will be generated to fill out the needed number of users.

Transactions are generated as mostly payments, with some charges. Charges are then either paid (with corresponding transactions) or unpaid (and thus, open).

Running the server

Currently node src/server.js but planning to add easier capabilities, particularly for inclusion in projects, soon.

1.2.1

2 years ago

1.2.0

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.0.14

3 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago