mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
608 B
21 lines
608 B
const express = require('express')
|
|
const app = express()
|
|
|
|
const docs = require('./routes/docs')
|
|
const labels = require('./routes/labels')
|
|
const projects = require('./routes/projects')
|
|
const members = require('./routes/members')
|
|
const users = require('./routes/users')
|
|
const stats = require('./routes/stats')
|
|
|
|
app.use('/users', users)
|
|
app.use('/projects', projects)
|
|
app.use('/projects/:project_id/statistics', stats)
|
|
app.use('/projects/:project_id/docs', docs)
|
|
app.use('/projects/:project_id/labels', labels)
|
|
app.use('/projects/:project_id/users', members)
|
|
|
|
module.exports = {
|
|
path: '/v1',
|
|
handler: app
|
|
}
|