This project implements an 8-puzzle problem. We will use it as a template for the upcoming lab assigments.
You need to install the following packages on your machine:
- Python 3.6+: Python programming language.
- Flask: Python web development framework.
- Nodejs: The JavaScript runtime that you will use to run your frontend project.
- Python-dotenv: Reads key-value pairs from a .env file and can set them as environment variables.
In the project directory, you can run:
Installs all the dependencies of the project.
In the project directory, you can run:
Runs the api in the development mode.
Open http://localhost:5000 to view it in the browser.
Open again a new terminal and run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Enyoy solving the puzzle.