+
Skip to content

andreacw5/asset-storage

Repository files navigation

Image storage service

Description

This is a simple image storage service, built with Node.js. It uses Express.js as a web framework and PostgreSQL as a database.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  • Clone the repository to your local machine: git clone https://github.com/andreacw5/asset-storage.git
  • Install dependencies: yarn install
  • Start the application: yarn dev
  • Visit http://localhost:3000 in your browser to use the application.

Features

  • Upload images
  • Download images
  • Delete images
  • List images
  • Image preview

Next planned functionality

  • Image statistics

Built With

Requirements

Authentication for management

The authentication is based on single static token, stored on env API_KEY variable. Request for create/edit/delete urls need X-API-KEY header with the value of API_KEY.

Environment Variables

code description default value
DATABASE_URL database url localhost
API_KEY auth token for CUD Endpoints 2342358

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

File uploader to disk/postgres

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载