forked from geolba/tethys.backend
TETHYS - Data Publisher for Geoscience Austria is a digital data library and a data publisher for earth system science. Data can be georeferenced in time (date/time) and space (latitude, longitude, depth/height).
#geology #data-publisher
- Implemented file upload functionality for datasets using multipart requests. - Added file size and type validation using VineJS. - Added file name length validation. - Added file scan to remove infected files. - Implemented aggregated upload limit to prevent exceeding the server's capacity. - Added error handling for file upload failures, including temporary file cleanup. - Updated the `DatasetController` to handle file uploads, validation, and database transactions. - Updated the `bodyparser.ts` config to process the file upload manually. - Updated the `api.ts` routes to fetch the statistic data. - Updated the `main.ts` store to fetch the statistic data. - Updated the `Dashboard.vue` to display the submitters only for administrator role. - Updated the `CardBoxWidget.vue` to display the submitters. - Updated the `ServerError.vue` to use the LayoutGuest.vue. - Updated the `AuthController.ts` and `start/routes.ts` to handle the database connection errors. - Updated the `app/exceptions/handler.ts` to handle the database connection errors. - Updated the `package.json` to use the correct version of the `@adonisjs/bodyparser`. |
||
---|---|---|
.gitea/workflows | ||
app | ||
bin | ||
commands | ||
config | ||
contracts | ||
database | ||
providers | ||
public | ||
resources | ||
src | ||
start | ||
tests | ||
.babelrc | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.eslintrc.json | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
ace.js | ||
adonisrc.ts | ||
clamd.conf | ||
components.d.ts | ||
docker-entrypoint.sh | ||
Dockerfile | ||
freshclam.conf | ||
index.d.ts | ||
package-lock.json | ||
package.json | ||
postcss.config.cjs | ||
readme.md | ||
tailwind.config.js | ||
tsconfig.json | ||
vite.config.ts | ||
webpack.config.cjs |
Tethys Research Repository Backend System
Welcome to the Tethys Research Repository Backend System! This is the backend component responsible for managing datasets, users, and the core functionality of the Tethys Data Research Repository.
Table of Contents
Getting Started
Prerequisites
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed on your development machine.
- A running PostgreSQL database instance.
- AdonisJS CLI globally installed.
Installation
-
Clone this repository:
git clone https://gitea.geologie.ac.at/geolba/tethys.backend.git