<commit_before>var express = require('express')
var requireAll = require('./lib/require-all')

ctrls = requireAll({
  dirname: __dirname + '/app/controllers',
  filter: /(.+)\.js(on)?$/
})

var app = express()
app.use(express.static(__dirname + '/public'))

require('./config/initializers/middleware.js').configure(app)
require('./config/routes').configure(app, ctrls)

app.post('/api/v1/sessions', ctrls['sessions'].create)
app.post('/api/v1/gateway/users', ctrls['gateway_users'].create)
app.get('/api/v1/sessions', ctrls['sessions'].show)
app.post('/api/v1/sessions/destroy', ctrls['sessions'].destroy)
<commit_msg>[FEATURE] Add route for creating transactions<commit_after>var express = require('express')
var requireAll = require('./lib/require-all')

ctrls = requireAll({
  dirname: __dirname + '/app/controllers',
  filter: /(.+)\.js(on)?$/
})

var app = express()
app.use(express.static(__dirname + '/public'))

require('./config/initializers/middleware.js').configure(app)
require('./config/routes').configure(app, ctrls)

app.post('/api/v1/sessions', ctrls['sessions'].create)
app.post('/api/v1/gateway/users', ctrls['gateway_users'].create)
app.get('/api/v1/sessions', ctrls['sessions'].show)
app.post('/api/v1/sessions/destroy', ctrls['sessions'].destroy)

app.post('/api/v1/ripple_transactions', ctrls['ripple_transactions'].create)

{'fraction_non_alphanumeric': 0.2139673105497771, 'fraction_numerical': 0.006686478454680535, 'mean_word_length': 5.943298969072165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5159226', 'n_tokens_mistral': 475, 'n_tokens_neox': 470, 'n_words': 65}