Skip to content

Spreadsync backend code repository. The platform helps sync the data to and fro from Spreadsheet

Notifications You must be signed in to change notification settings

harryac07/spreadsync-backend

Repository files navigation

Spreadsync

Development of sheet based sync application. The project will grow to sync different MA-CRM platforms in future.

Goal

  1. Goal 1
    SQL => Spreadsheet
    API => Spreadsheet
    Spreasheet => Spreadsheet
    Spreasheet => MA
    Spreasheet => CRM

  2. Goal 2
    MA => CRM
    CRM => MA


Getting started locally (First time setup)

  1. Install node_modules and build the image
    npm install
    npm run compose-up

Installing new package (Needs image rebuild)

  1. Rebuild image
    npm install package_name --save
    npm run compose-down
    npm run compose-up

Merge request conventions

  1. Always pull latest code before adding fixes/features

  2. Follow standard conventions while creating upporting feature/fix branch.

    Feature branch

    feature-<feature_name> (Example: feature-auth_implementation, feature-auth-implementation)
    

    Bug fix branch

    fix-<fix_name) (Example: fix-auth_token_expiration)
    
  3. Include explanatory title and description while creating merge request.
    For a single commit change, description is not always necessary, but for larger changes, the description is a good way to concisely expand your title and/or commits a bit more.


Useful commands

Run backend server locally (uses already built image)

npm start

Stop running backend server

npm run stop

Accessing docker bash shell

npm run bash

Connect to Postgres in db client

psql postgres://postgres@localhost:35432/spreadsyncdb


Docker short-hands

View running processes: docker ps
Open bash shell with service name (node project (app) in our case): docker-compose run app bash
Open bash shell with containerId: docker exec -it 714afe6dbe01 bash
Building container and running app using docker compose: docker-compose up
Stop and remove container and its volumes using docker compose: docker-compose down

About

Spreadsync backend code repository. The platform helps sync the data to and fro from Spreadsheet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages