Developed by João Nuno and Pedro Elias. To easily access our word search, play on the website https://batataadb.github.io/sopa-de-letras/. If you want to run the game locally, follow the instructions presented here.
Make sure you have Node.js, npm, and python installed on your machine.
- Clone the Repository:
git clone https://github.com/BaTaTaAdb/sopa-de-letras.git
cd sopa-de-letras
- Dependency Installation:
Go to the frontend directory and execute the following command to install the dependencies present in
package.json
:
cd frontend
npm install
- Backend Configuration: (Make sure you have all the necessary packages to run Flask)
# Access the backend directory and execute (instructions for Linux)
cd backend
python -m venv venv
.\venv\Scripts\activate.bat
python -m pip install -r requirements.txt
- Application Execution:
- Start the backend (Flask):
cd backend
python app.py (start Flask) # Starts the server in development version
- Then, start the frontend (React):
cd frontend
npm install
npm start # Starts the server in development version
- OR Build the frontend (React):
npm run build
npm install -g serve
serve -s build # Serves the server already in its production version
- Use a WSGI server for the backend (Unicorn):
gunicorn -w 4 -b 0.0.0.0:25590 app:app
After completing these steps, the application should be running in your local environment!
This project is licensed under the MIT license - see the LICENSE file for more details.
Frontend:
Backend: