/shopping-list

A project to test out Laravel 8 with Inertia.js

Primary LanguageDockerfileApache License 2.0Apache-2.0

Shopping List

A simple shopping list application with focus on user experience.

Installation

This application requires you to have docker and docker-compose installed.

  1. Clone the repository
git clone git@github.com:erhuz/shopping-list.git
  1. Set up environment variables.
cp .env.example .env && cp .env.docker _docker/.env
  1. Enter shoppinglist.test into your hosts file. On mac / linux, the hosts file is located at /etc/hosts.
127.0.0.1   shoppinglist.test
  1. Make helper script executable. (You might have to prefix this command with sudo)
chmod +x dev.sh
  1. Start docker containers.
./dev.sh up

Or you can run cd _docker && docker-compose -f docker-compose.yml up -d mysql nginx workspace phpmyadmin

  1. Install npm dependencies
npm install
  1. Build css & javascript.
npm run dev
  1. Enter the workspace container.
./dev.sh workspace
  1. Run composer install inside the workspace container.
composer install
  1. Visit the application in your browser at http://shoppinglist.test/

  2. (Optional) Stop docker containers.

./dev.sh down

Or you can run docker-compose -f _docker/docker-compose.yml down

Goal of this project

  • Simple and nice interface, nothing should be in the way.
  • Focus on easily adding goods and sharing it.

To Do

  • Setup github actions for tests.
  • Setup github actions for deployment.
  • to check a checkbox when you have taken an item type.

License

The Shopping list app is open-sourced software licensed under the Apache-2.0 License.