Search for an user to list all his publications on Hacker News - stories, comments, pools and jobs.
You will need have Docker and Docker Compose installed in your system to be able to follow the steps below:
- Clone the project on your system
git clone [email protected]:lcdss/hn-user-lookup.git
- Access the project root directory
cd hn-user-lookup
- Push and run the docker containers
docker-compose up -d
- Access the box container
docker-compose exec box sh
- Access the server directory and install the dependencies
cd server && composer install
- Generate the server key
php artisan key:generate
- Copy the example environment file
cp .env.example .env
- Run the api server - It'll be available at http://localhost:8000/api
php artisan serve --host 0.0.0.0
- Access the client directory and install the dependencies
cd ../client && yarn
- Copy the client example environment file
cp .env.example .env.local
- Run the client - It'll be available at http://localhost:3000
yarn run serve --port 3000
- Now it's ready! Access the above link in your preferred browser.
API: https://hn-user-lookup.herokuapp.com/api
Client: https://hn-user-lookup.surge.sh
- Laravel 5.8
- Vue CLI
- Vue
- Vuex
- Axios
- SASS