Skip to content

Leoreoreo/TravelItineraryManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TravelItineraryManager

Figma

FRONTEND

  • ReactJS

Usage

Install Dependencies

$ cd frontend
$ npm install

Run

$ npm start

Default: http://localhost:3000/

BACKEND

  • Python (Flask)

Usage

Install Dependencies

  • if python doesn't work, try python3
  1. 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

Run

  • 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

Database

  • 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

Usage

  1. $ psql --host 18.216.204.24 --username db\_user1 --password --dbname tim\_db
  2. will ask for pw so enter it
  3. you can do any kind of sql stuff you want here (e.g. create, alter, insert, select)

Production

  1. Ports open specificaly 8080-8085
  2. Host = ip address of it

About

Database Concepts project: built with React, Flask, and PostgreSQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors