[![React][React.js]][React-url]
To get a local copy up and running follow these simple example steps.
- Clone the repo branch or download it
git clone https://github.com/sebastianp21/pcbuilderWeb.git
- Install NPM packages in project directory (in pcbuilderWeb)
npm install
- To run
npm run dev
- if doesnt run, install node.js
-
Cd to api folder
cd api -
install flask, flask_cors
pip install flask flask_cors
-
run api
python api.py
-
If doesnt run, install python, pip Here is a guide: https://blog.miguelgrinberg.com/post/create-a-react-flask-project-in-2025
Still in progress Website the help pick computer components that are compatible with each other
link: https://pcpartpicker.com/list/ DB from https://github.com/buildcores/buildcores-open-db#
For ssh and git access comands: Starting with a ssh key:(setupa, connnect and test) (look for your OS) https://docs.github.com/en/get-started/git-basics/setting-your-username-in-git https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection
For github keep asking for username and password but no ssh: https://mkyong.com/git/github-keep-asking-for-username-password-when-git-push/
- Go to your project folder (go to the pcbuilderWeb folder)
cd pcbuilderWeb - To run
npm run dev
(repeat every time run the backend)(each command is run in the api folder)
- Go to the api folder(once in pcbuilderWeb folder)
cd api- Create enviroment in the api folder(the api folder is in the pcbuilderWeb folder)
python3 -m venv venv
source ./venv/bin/activate- Install flask and flask_cors
pip install flask flask_cors
- Run api.py
python api.py