A bunch of cool stuff for viewing, optimizing and growing your digital ad portfolio.
Clone the repo
Create a db named adsviewer
in postgres
Create a .env file in the packages/database
directory with the following content:
DATABASE_URL=postgresql://postgres@localhost:5432/adsviewer
Login to development account and copy
the .env
in the apps/server
directory. Look at Configuring aws-cli if you don't
have access.
Create a .env file in the apps/web
, apps/backoffice
directory with the following content:
GRAPHQL_ENDPOINT=http://localhost:4000/graphql
Run pnpm i
pnpm dev
There should be a ~/.aws/credentials
file, this will be used to authenticate with aws services. If it does not exist
create an empty one. In order to get credentials you visit
the AWS access portal open the development account
and click
on Access keys
. Scroll down to Option 2 and click copy. Then paste the content in
the ~/.aws/credentials
file.
The credentials that you generated above will expire every 12 hours. In order to refresh them you need to repeat the process. On the flip side, very few features require aws services to be run locally (sending emails on forget password flow is an example).