An express server, node js app and postgreSQL database, built with node postgreSQL, tested with jest
http server, nubmer of endpoints
Run npm install
in the root of repo to install the necessary dependencies.
Create a .env.test
file at the root level with the following content:
PGDATABASE=airbnc_test
Run npm run setup-dbs
to create the local test database.
Run npm run seed
to seed the test database.
jest: 29.7.0 or above node": 6.0.0 or above