Drop Shopping Exam
Find a file
2023-04-25 02:37:40 +03:00
data fixing typescript config issue 2023-04-24 21:49:20 +03:00
src add error catches 2023-04-25 02:37:40 +03:00
.env.example add error catches 2023-04-25 02:37:40 +03:00
.gitignore first push - rest API with handlers attached to methods 2023-04-24 20:27:36 +03:00
package-lock.json install knex for migration files 2023-04-25 02:24:46 +03:00
package.json install knex for migration files 2023-04-25 02:24:46 +03:00
README.md add error catches 2023-04-25 02:37:40 +03:00
tsconfig.json importing the data json 2023-04-24 21:34:33 +03:00

examples -

POST localhost:3000/resolve-address { "searchTerm": "38%20Upper%20Montagu%20Street%2C%20London%20W1H%201LJ%2C%20United%20Kingdom" }

install pg MacOS - Install Homebrew - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Postgres - brew install postgresql

Start Postgres - brew services start postgresql

knex for migration files npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run

npx knex migrate:make create_addresses_table npx knex migrate:latest npx knex migrate:rollback

npx knex seed:make 01_addresses npx knex seed:run