First clone my project.
git clone https://github.com/alonlevim/ls-social.git
Then go to root project:
cd ls-social
Go to server
and add .env file with content and enter your AWS details:
SECRET=some-secret
DB_URL=mongodb://localhost/some-url
ACCESS_KEY_ID=<YOUR_AWS_ACCESS_KEY_ID>
SECRET_ACCESS_KEY=<YOUR_AWS_SECRET_ACCESS_KEY>
BUCKET_NAME=<YOUR_AWS_BUCKET_NAME>
Then run:
npm install
Then run:
cd ../client && npm install
Need to run two Terminals:
From root folder run:
cd server && npm run start
From root folder run:
cd client && ng serve --open
From root folder run:
cd server && npm run start
You should open http://localhost:8081/ if you are not changed the port.