Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 851 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 851 Bytes

Apiko marketplace API

Running server

Development

To get local server working, you need to install PostgreSQL database. You can download it here. After you have successfully installed PostgreSQL DB and ran it, you have to create a database called apiko-marketplace with the postgres user and the password password (you can change any of these in knexfile.ts, don't forget to rebuild the app after you made some changes). You can find additional information about creating db here.

Then you need to install dependencies, build typescript and run the app.

$ npm install # install dependencies and build typescript
$ npm run dev:migrate:latest # migrate database to latest migration
$ npm run dev # to run the server