/Turtlepath

A React app with Python Flask backend that converts Turtle path directions into path co-ordinates.

Primary LanguageJavaScript

A React App with Python Flask Backend that takes Turtle path directions and generates path co-ordinates.

How to build and run the application

Backend

  • The python file (server.py) is located at ./server

  • The python back end uses flask and flask_cors modules. If you don't have those modules installed already then Please install using pip install flask flask-cors

  • To start the backend, Issue below command. The backend starts on port 8000

    python ./server/server.py

Frontend

  • Run npm install and npm run build to install node dependencies and build the project for Production.
  • Run npm start to run the app. Open http://localhost:3000 to view it in the browser.