This is our solution to the Myntra's HackerRamp 2021 Challenge to Enhance the User Experience and to improve inclusion of potential cutomer base from Tier-2 and Tier-3 Indian Cities through a Unique Ambassador Program while empowering the small business owners from those cities.
- NodeJs Install NodeJs
- Docker Install Docker
compile thedocker-compose.yml
file by running$ docker-compose up
in a linux terminal or Windows subsystem for linux 2WSL2
. - Setup Windows subsystem for linux WSL2
Note:
if your system has redis
or postgres
already installed then you do not require to add the docker images.
-
.env structure :-
PORT = "<port address>" secret = "<any string>" POSTGRES_USER = "<postgres user name>" POSTGRES_PASSWORD = "<postgres password>" POSTGRES_HOST = "<host name>" POSTGRES_PORT = <postgres port> POSTGRES_DATABASE = "<databaase name>" domainURL = "http://localhost:8000"
-
firebase service account key :- help link
{ "type": "", "project_id": "", "private_key_id": "", "private_key": "", "client_email": "", "client_id": "", "auth_uri": "", "token_uri": "", "auth_provider_x509_cert_url": "", "client_x509_cert_url": "" }
- clone the repo.
- Open the project folder.
- run
$ npm start