Skip to content

Beam me up#9

Merged
fffej merged 4 commits intomasterfrom
beam-me-up
Jul 2, 2015
Merged

Beam me up#9
fffej merged 4 commits intomasterfrom
beam-me-up

Conversation

@fffej
Copy link
Copy Markdown
Owner

@fffej fffej commented Jun 29, 2015

Currently this cannot be merged until its more performant.

Sending 10MB lumps of JSON back isn't create, so need to experiment just sending back the SQL file. Probably just refactor to save to disk and then send.

@fffej
Copy link
Copy Markdown
Owner Author

fffej commented Jul 2, 2015

Usage:

> cabal repl webserver

Opens up the repl in the context of the web server.

> cabal run webserver

Runs the webserver

The only URL pattern that is matched is

/database/{number}?size={number}

The first number represents the random number seed. The second (optional) parameter represents the size. You probably want this to be < 1000 since otherwise it runs into problems due to the need to turn the whole object into a string before returning it (simple implementation, easier enough to change in the future).

fffej added a commit that referenced this pull request Jul 2, 2015
@fffej fffej merged commit c1911e8 into master Jul 2, 2015
@fffej fffej deleted the beam-me-up branch July 2, 2015 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant