This is a basic Google Keep Clone made with Bootstrap, React, Laravel and MySQL. Stack is big but we wanted to create something really functional.
- Clone this repository
git clone git@github.com:Kajaia/google-keep-clone.git
- Go to downloaded folder
cd google-keep-clone
and open with your text editorEx: code .
- Change environment file - in windows:
copy .env.example .env
, in linux:cp .env.example .env
- Install all your dependencies by running
composer install
- Generate key for your application
php artisan key:generate
- Run migration
php artisan migrate
- Seed dummy data
php artisan db:seed
- Go live by running
php artisan serve
and visit127.0.0.1:8000
- Run command
npm install
- For development environment run
npm run dev
, for productionnpm run prod
- Get all labels by visiting
127.0.0.1:8000/api/labels
- Get specific label by visiting
127.0.0.1:8000/api/labels/{id}
- Add new label with POST method
127.0.0.1:8000/api/labels
- Edit specific label with PUT method
127.0.0.1:8000/api/labels/{id}
- Delete specific label with DELETE method
127.0.0.1:8000/api/labels/{id}
- Get all notes by visiting
127.0.0.1:8000/api/notes
- Get specific note by visiting
127.0.0.1:8000/api/notes/{id}
- Add new note with POST method
127.0.0.1:8000/api/notes
- Edit specific note with PUT method
127.0.0.1:8000/api/notes/{id}
- Delete specific note with DELETE method
127.0.0.1:8000/api/notes/{id}
- Get all deleted notes
127.0.0.1:8000/api/trash
- GET request on
127.0.0.1:8000/api/labels
using search param
- You can do this with POST method
127.0.0.1:8000/api/notes/{id}/restore