backend implementation using nodeJS