Git Product home page Git Product logo

devnotes_laravel's Introduction

Dev_Notes (PHP)

If you have see the devnotes, this is a similar project but now this project was maden with the PHP framework laravel.

What's Project Needs to do?

  • List the notes
  • Get informations of a only note
  • Insert a new note
  • Update a note
  • Delete a note

Frontend

The frontend of the app was not maden yet, so can not be accessed.

Backend (API)

Here is the endpoints of the app and his uses.

  • base_url/api/ping (GET): This endpoint is a test endpoint to verify if API works, if return ping equals true, API is working.
  • base_url/api/notes (GET): This route get the title and the id of all notes that exists in database and return to client.
  • base_url/api/notes/{id} (GET): This route get a only note that exists in database and return to client if note exists, else is returned a error message.
  • base_url/api/notes (POST): This route reviece a title and a body by the body of the request and if params wasn't send, the return is error, and if was send is the note that was send.
  • base_url/api/notes/{id} (PUT): This route revice a title and a body the body of the request and a id by the router params and if was send the title and the body of the note and the id exists in database, the note is updated in database, else the return is a error.
  • base_url/api/notes/{id} (DELETE): This route revice a id by the router params and the note with the id that was send, are deleted if exists.

devnotes_laravel's People

Contributors

lunsmat 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.