Auto Drive is a decentralized content-addressed storage solution built on the Autonomys Network, leveraging its underlying permanent storage layer known as the Autonomys Distributed Storage Network (DSN). It provides users with a secure and efficient way to store, share, and manage digital assets with the assurance of long-term data persistence.
Auto Drive offers a user-friendly interface for uploading and downloading files, as well as an SDK and API for developers to integrate storage capabilities into their applications.
- Node.js (v20 or later)
- Yarn
-
Clone the repository:
git clone https://github.com/autonomys/auto-drive cd auto-drive
-
Install dependencies:
yarn install
-
Build services:
yarn build
-
Launch backend (requires docker):
docker compose up --env-file .env.dev -f docker-compose.dev.yml up -d
-
Apply hasura metadata
yarn hasura metadata apply --admin-secret myadminsecretkey
-
Launch frontend
yarn frontend dev
Start the server:
cd backend
yarn start
The server will start on http://localhost:3000
.
If you are building with Javascript or Typescript you can use @autonomys/auto-drive for other languages you should integrate with the REST API
Run the test suite:
yarn test