A simple REST service to access books database.
- Install Node v18 or use nvm
- Select node version
nvm use 18
- Install dependencies
npm install
- Update environment variables
cp .env.example .env
- Install postgres
- Setup database with
./setup_db.sh
- Run migrations
npm run db:migrate
- Start Dev server
npm run start:dev
- Run tests
npm run test
- Swagger docs available on
http://localhost:4000/documentation