https://github.com/soaibsafi/tuc-share-python
Content sharing application with distributed block list services using FAST API (Python) and React.js.
https://github.com/soaibsafi/tuc-share-python
fastapi python3 reactjs
Last synced: about 2 months ago
JSON representation
Content sharing application with distributed block list services using FAST API (Python) and React.js.
- Host: GitHub
- URL: https://github.com/soaibsafi/tuc-share-python
- Owner: soaibsafi
- Created: 2022-06-06T10:04:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-01T09:21:03.000Z (almost 3 years ago)
- Last Synced: 2025-01-23T18:50:30.472Z (3 months ago)
- Topics: fastapi, python3, reactjs
- Language: JavaScript
- Homepage:
- Size: 170 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TUC Share
## Backend
1. Go to *Backend* directory-
```
cd Backend
```2. Create Virtual environment-
```
python -m venv .venv
```
2. Activate the virtual environment-- (For Windows)- `.\.venv\Scripts\activate`
- (For macOS/Linux)- `source .venv/bin/activate`3. Install the required package-
```
pip install -r requirements.txt
```4. Create a `.env` file which contain the *USERNAME* and *PASSWORD* of TU Chemnitz. Put the following line inside the `.env` file-
```
USERNAM=
PASSWORD=
```5. Download the [Chrome Driver](https://chromedriver.storage.googleapis.com/index.html?path=104.0.5112.20/), extract the zip and put the *chromedriver.exe* in the Backent root directory
6. Strat the *Backend* using-
```
uvicorn main:app --reload
```7. The *Backend* will be running on-
- *http://127.0.0.1:8000/*8. The API documentation could be found at-
- *http://127.0.0.1:8000/docs*---
## Frontend1. Go to *Frontend* directory-
```
cd Frontend
```
2. Install the required package-```
yarn install
```
3. Strat the *Frontend* using-
```
yarn start
```4. Create a `.env` file and put the following line inside the `.env` file-
```
SKIP_PREFLIGHT_CHECK=true
```
4. The *Frontend* will be running on-
- *http://127.0.0.1:3000/*