Skip to content

📂 Online storage application used to upload and share images

License

Notifications You must be signed in to change notification settings

ddanielcruz/open-box

Repository files navigation

📂 open-box

Online storage application used to upload and share images developed with Node.js and TypeScript

Tech

  • Node.js - Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
  • TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output
  • Express - Fast, unopinionated, minimalist web framework for Node.js
  • Amazon S3 - Object storage built to store and retrieve any amount of data from anywhere
  • Prisma - Next-generation Node.js and TypeScript ORM
  • PostgreSQL - The World's Most Advanced Open Source Relational Database

Getting started

The application supports uploading images to both local storage and Amazon S3. By default it'll be storing the images locally for simplicity, but if you want to test it using S3 you'll need to setup an AWS account.

In order to run the project you'll need to have Node.js and Yarn installed in your machine. The resources are stored on a Postgres database, so you also need an instance configured locally or in the cloud.

# Clone repository
$ git clone https://github.com/danielccunha/open-box.git
$ cd open-box

# Populate environment variables
$ cp .env.example .env
$ nano .env

# Install dependencies
$ yarn

# Start the project in development mode
$ yarn dev

The only required environment variable is the DATABASE_URL used to connect to Postgres. If you want to use Amazon S3 you'll also need to populate the AWS_* variables and change the STORAGE_TYPE to s3.

License

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

About

📂 Online storage application used to upload and share images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •