This is a Google search clone SPA powered by JavaScript's Vue and Python's flask.
- Python
- Virtualenv
- Flask
- Clone the project to your machine
[git clone https://github.com/Jordanirabor/google-search-spa]
- Navigate into the diretory
[cd google-search-spa]
- Source the virtual environment
[source .venv/bin/activate]
- Install the dependencies
[pip install flask]
- Navigate into the Vue project directory
[cd spa]
- Install Vue and the Node dependencies
[npm install]
You will need to have two terminals pointed to the appropraite directories to run the backend and frontend servers for this application.
- Run this command to start the backend server in the
[google-search-spa]
directory:[python app.py]
(You have to run this command while you are sourced into the virtual environment) - Run this command to start the Vue frontend server in the
[google-search-spa/spa]
directory:[npm start]
(This will build and start the Vue frontend on the URL adddress localhost:8080)