What you’ll need to start:
- Docker CE
- Traefik Docker Image
- NodeJS 6.10+
- Postgres 10
- Redis 4
To start off in development, clone the repository and all pre-requisites must be installed. After that configure backend/config.json
containing AWS secret key and AWS identifier.
{
"accessKeyId": "<IDENTIFIER>",
"secretAccessKey": "<SECRET>",
"region": "us-west-2"
}
On the root folder and backend folder install all dependencies using npm install
.
Lastly, run make
on root directory to run the frontend. To run the backend run make
again inside backend
folder.
The production contains same development workflow / prerequisites but instead of hosting the Postgres and Redis in docker, must use external service like AWS DynamoDB for ease and scaling and near bare metal performance.
- Clone the this repo.
- Configure database settings either on environment variables or in
src/config/index.ts
. - Run
make build
on root folder. - Again on backend run
make build
.