Skip to content

sharing-science/sample-filesharer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample File Sharer

A POC by Noe Horowitz

Walkthrough tutorial video: https://rpi.box.com/s/gieyjk3pvzyg8yu7a9hfgc3a9sqf8lgs

Installation

There are two main parts to this application, the Backend and the Client, each with its own necessary packages.

All of these commands assume that you are starting in the root directory.

Backend

The Backend is mainly used as a database, it is built with Python Flask

Use the package manager pip to install the backend for this POC.

> cd .\backend\

-- Optional: creating a virtual python environment --
> python -m venv venv
> venv\Scripts\activate.bat
-----------------------------------------------------

> pip install -r requirements.txt

Client

The Client is the front end of the application, this is where most of the application lies. It is built using React.

> cd .\client\
> npm install

Usage

Backend

Running the backend works as follows:

> cd .\backend\

-- If using virtual environment --
> venv\Scripts\activate.bat
----------------------------------

> flask run

This will make the backend run, on the first instance, the SQLAlchemy Database is automatically created under the file database.db.

Client

Running the client works as follows:

> cd .\client\
> npm run start

This will start a live version of the React Server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors