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:
-
macOS instructions.
-
Linux instructions.
-
With Windows just go for Linux subsystem for Windows and proceed with the Linux 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.
Heroku
Deploy ongit clone git@github.com:TernopilJS/marketplace-api.git
cd marketplace-api
Follow the deployment instructions