- ReactJS
$ cd frontend
$ npm install
$ npm start
Default: http://localhost:3000/
- Python (Flask)
- if
pythondoesn't work, trypython3
- try to use python 3.12.3 (if you are working on the aws server, should be default this)
$ python -m venv venv // create virtual environment
$ source venv/bin/activate // activate venv
$ pip install -r requirements.txt // downloads dependencies
$ pip list // check if everything is downloaded
- you will not need to change the config file i believe as that is only for connecting to the db
$ source venv/bin/activate // activate venv
$ flask run // run the server, should be on localhost
Default: http://127.0.0.1:8081
- Postgresql (should be always on since the server is on 24/7, so you can remote access)
- Infrastructure: AWS (EC2)
- Current ip address: 18.216.204.24
$ psql --host 18.216.204.24 --username db\_user1 --password --dbname tim\_db- will ask for pw so enter it
- you can do any kind of sql stuff you want here (e.g. create, alter, insert, select)
- Ports open specificaly 8080-8085
- Host = ip address of it