Giter Club home page Giter Club logo

laravel-notes-api's Introduction

Google Keep Clone

About

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.

Installation

  1. Clone this repository git clone [email protected]:Kajaia/google-keep-clone.git
  2. Go to downloaded folder cd google-keep-clone and open with your text editor Ex: code .
  3. Change environment file - in windows: copy .env.example .env, in linux: cp .env.example .env
  4. Install all your dependencies by running composer install
  5. Generate key for your application php artisan key:generate
  6. Run migration php artisan migrate
  7. Seed dummy data php artisan db:seed
  8. Go live by running php artisan serve and visit 127.0.0.1:8000

For node modules

  1. Run command npm install
  2. For development environment run npm run dev, for production npm run prod

API Docs

Labels (Note categories)

  • 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}

Notes

  • 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

Search Notes

  • GET request on 127.0.0.1:8000/api/labels using search param

Restore deleted note

  • You can do this with POST method 127.0.0.1:8000/api/notes/{id}/restore

laravel-notes-api's People

Contributors

dependabot[bot] avatar giorgideveloper avatar kajaia avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.