Giter Site home page Giter Site logo

carvalho28 / sharesafe Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 4.07 MB

SHARESAFE is a web app for safe file sharing. Send any file type to specific groups. Easy to use and privacy-focused.

License: Apache License 2.0

TypeScript 93.23% JavaScript 5.57% HTML 0.21% CSS 1.00%
diffie fastify file-sharing react hmac

sharesafe's Introduction

SHARESAFE

What is SHARESAFE?

  • a web app that helps you share files safely. You can send any kind of file, like documents, photos, or videos;
  • makes sure only the people you want can see your files (groups);
  • easy to use and cares about your privacy.

Share more, worry less.

App Structure

SHARESAFE
├── backend                    # Server related files
│   ├── files                  # Encrypted files
|   ├── prisma                 # Database "schema" and migrations
|   ├── src                    # Source code
|   ├──   ├── modules          # Modules
|   ├──   ├── utils            # Utility functions (e.g. password hashing)
|   |──   ├── tests            # Server tests - using Tap
|   |──   ├── ...              # Other essential files (e.g. server)
├── frontend                   # Client related files
│   ├── sharesafe-docs         # Documentation files
│   ├── src                    # Source code for the app
│   ├──   ├── auth             # Authentication related files
│   ├──   ├── components       # React components
|   ├──   ├── encryption       # Encryption related files
|   ├──   ├── subPages         # Subpages
|   ├──   ├── test             # Client tests - using Vitest
|   ├──   ├── ...              # Other essential files (e.g. App.tsx)

Tech Stack

TypeScript

React

NodeJS

Postgre

... and more!

Setup

What you'll need

  • Node.js version 16.14 or above:
    • When installing Node.js, you are recommended to check all checkboxes related to dependencies.

Clone the Repository

Go to your desired folder in your computer and clone the repo using:

git clone https://github.com/carvalho28/SHARESAFE

Prepare Database

You need to have a database ready o use, inside /backend, create a .env with:

DATABASE_URL="database_url"

And then, to set it up using prisma, just run, on the global folder:

cd backend && npx prisma migrate dev --name init

After this, you have set up your database.

Install the Dependencies

After cloning the repo, navigate to the created folder using:

cd SHARESAFE

Then install all the necessary dependencies using:

yarn install:deps

Development Server

To run the development server after installing the dependencies, use:

yarn dev

The development server of the app will be running at http://localhost:5173/.

The development server of the docs will be running at http://localhost:5174/.

sharesafe's People

Contributors

carvalho28 avatar fsalcruz avatar guilherme-barata avatar siimas avatar vmkalima avatar dependabot[bot] avatar

Stargazers

 avatar Hafidh Pradipta A. avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

siimas

sharesafe's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.