Clone the project locally with
git clone https://github.com/ivinayakg/shorte.live.git
Setup env files
cp client/sample.env client/.env
cp api/sample.env api/.env
Setup Google Oauth keys
OAuth consent screen
here. Once there configure your screen, read more herecredentials
and create a new one.
http://localhost:3100
into Authorized JavaScript origins
http://localhost:3100/user/google/callback
into Authorized redirect URIs
client id
and your client secret
, and paste into your api/.env
file for the variable GOOGLE_OAUTH_CLIENT_ID, GOOGLE_OAUTH_CLIENT_SECRET
and done.Setup Local DB and Local Redis
Docker Desktop
installed for this on your system. check hereDocker Desktop
and keep it running in the background.docker-compose -f config/compose.yml up
-d
flag.
docker-compose -f config/compose.yml up -d
Test
client
directory in your terminal and run yarn dev
api
directory in your terminal and run go run .
ivinayakg
vinayak20029@gmail.com