Centralized API
git clone git@github.com:TripSit/http-api.git
cd http-api
npm i
cp .env.example .env
npx run setup
docker-compose up -d
npx knex migrate:latest
npx knex seed:run
- (Optional)
npx run db-types
If you make changes to the .init file make sure to run npx run reset-db
!