"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
/*
* Copyright (C) 2015 Ben Ockmore
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/**
* Renders the document and displays the 'Develop' page.
* @returns {JSX.Element} a React JSX Element
*/
function DevelopPage() {
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
className: "page-header"
}, /*#__PURE__*/_react.default.createElement("h1", null, "Developing with BookBrainz")), /*#__PURE__*/_react.default.createElement("p", {
className: "lead"
}, "We aim to make it as easy as possible to use the data stored in BookBrainz. If you\u2019re a developer wanting to make programs that depend on BookBrainz, we have a web service available, and are releasing database dumps regularly."), /*#__PURE__*/_react.default.createElement("h2", null, "Web Service / API"), /*#__PURE__*/_react.default.createElement("p", null, "The web service is the primary way of getting BookBrainz data. The key advantage of using the web service over the dumps is that you don\u2019t need to install any database engine \u2014 you can access the data through the internet. The web service is currently in alpha version and a\xA0", /*#__PURE__*/_react.default.createElement("a", {
href: "https://api.test.bookbrainz.org/1/docs/"
}, "live documentation is served at this address"), "."), /*#__PURE__*/_react.default.createElement("h2", null, "Database Dumps"), /*#__PURE__*/_react.default.createElement("p", null, "The database dumps will be useful if you need to process a lot of data quickly \u2014 in cases where the web service is not able to respond quickly enough. The latest database dump can be found ", /*#__PURE__*/_react.default.createElement("a", {
href: "ftp://ftp.musicbrainz.org/pub/musicbrainz/bookbrainz/latest.sql.bz2"
}, "at this address"), ". A dump is made every week."), /*#__PURE__*/_react.default.createElement("h2", null, "Source Code"), /*#__PURE__*/_react.default.createElement("p", null, "BookBrainz runs on open source software. If you wish to access the source and contribute to the project, please see\xA0", /*#__PURE__*/_react.default.createElement("a", {
href: "https://github.com/metabrainz/bookbrainz-site"
}, "our github page"), "."));
}
DevelopPage.displayName = 'DevelopPage';
var _default = DevelopPage;
exports.default = _default;
//# sourceMappingURL=develop.js.map