/storedocs

Open Source cloud document storage.

Primary LanguageTypeScript

Storedocs

Storedocs is an open-source web application for cloud document storage. It provides a user-friendly interface for uploading, storing, and managing documents online.

About this project

Storedocs is designed with the aim of making document storage easy and accessible for everyone. It leverages modern web technologies to provide a secure and efficient platform for managing your documents. Whether you're looking to store your personal files or share documents within a team, Storedocs offers a simple and flexible solution.

This project is inspired by Documenso - A document-signing tool. Please do check it out.

Tech Stack

Local Development

Requirements

To run Storedocs locally, you will need

  • Node.js
  • Postgres SQL Database

Developer Setup

Manual Setup

Follow these steps to setup Storedocs on your local machine:

  1. Clone the repository it to your local device.
git clone https://github.com/johnnjuki/storedocs
  1. Run npm i in the root directory

  2. Create your .env from the .env.example. You can use cp .env.example .env.

  3. Set the following environment variables:

    • NEXTAUTH_URL
    • NEXTAUTH_SECRET
    • NEXT_PRIVATE_DATABASE_URL
    • NEXT_PRIVATE_GOOGLE_CLIENT_ID
    • NEXT_PRIVATE_GOOGLE_CLIENT_SECRET
  4. Create the database schema by running npx prisma migrate dev

  5. Run npm run dev in the root directory to start