API - https://apiko-marketplace-api-2019.herokuapp.com/
API Docs - https://apiko-marketplace-api-2019.herokuapp.com/documentation
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.
To upload images or some other multimedia - create free account on cloudinary and paste your cloudinary configs into config file.
Use VS Code Extension for Syntax highlighting for code like:
const query = sql`SELECT * FROM users`;
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