Skip to content

TernopilJS/marketplace-api

Repository files navigation

Apiko courses 2019 application API

API - https://apiko-marketplace-api-2019.herokuapp.com/

API Docs - https://apiko-marketplace-api-2019.herokuapp.com/documentation

Local Server Installation

Clone repository and install project dependencies

git clone git@github.com:TernopilJS/marketplace-api.git
cd marketplace-api
npm i

Follow your OS specific instructions:

Cloudinary

To upload images or some other multimedia - create free account on cloudinary and paste your cloudinary configs into config file.

SQL syntax highlight in js files.

Use VS Code Extension for Syntax highlighting for code like:

const query = sql`SELECT * FROM users`;

Run server

Start the server, e.g:

node index.js

or build and run:

npm run build && npm start

or whatever method you want.

Deploy on Heroku

git clone git@github.com:TernopilJS/marketplace-api.git
cd marketplace-api

Follow the deployment instructions