Skip to content

Latest commit

 

History

History
65 lines (62 loc) · 1.27 KB

File metadata and controls

65 lines (62 loc) · 1.27 KB

Sorting Web

Description

Sorting web will help you to sort your numbers.
Sorting algorithm :

  1. Bubble Sort
  2. Merge Sort

This application was made using react js for front-end and flask for back-end.

Author

Name : Felicia Gillian Tekad Tuerah
NIM : 13518070
This application was made to fulfill the duties of the IRK Lab Assistant.

Installation

Requirements

Some packages you need to install on your machine:

  1. Python 3.0 or above make sure you have add the path of your python and pip installation to your PATH system variable.
  2. Flask
pip install flask
  1. Flask Cors
pip install flask-cors
  1. Node js make sure you have add the path C:\Windows\System32 and the path of nodejs installation to your environment variable.

How to compile on Windows?

  1. Open 2 cmd (to run react as frontend and flask as backend)
  2. Open sort-web folder in both cmd
cd sort-web

How to run React?

  1. Open frontend folder
cd frontend
  1. Start react
npm start

How to run flask?

  1. Open backend folder
cd backend
  1. set flask app
set FLASK_APP=mainSort.py
  1. set flask environment
set FLASK_ENV=development
  1. run your backend
flask run