# Arka Backend deployement Manual
## Reqirements
* Node.js 14+ and npm
## Getting Started
#### Setup Your postgreSql in .env file The following Values need to be replaced
* DB_HOST= where database is being hosted
* DB_USER= username of database privileges
* DB_PASSWORD= password of database privileges
* DB_PORT= port of database by default its 5432
* DB_DATABASE= Name of the database e.g arka
#### You need to replace following keys to run it with you live shopify store
* SHOP_NAME
* SHOPIFY_ADMIN_ACCESS_TOKEN
* SHOPFY_STOREFRONT_ACCESS_TOKEN
##### Commands for Database Migration and Server Running
* Run `npm install` in the project directory to install node_modules
* Run `npx knex migrate:latest` to add database schema in your newly created database
* Run `npm run dev` to run the project”
* Go to browser and type localhost:3000 if its on personal pc else type ip of the server with 3000 port e.g 30.12.13.144:3000 it will load a page saying “server is running”.
* Your project is good to go