Giter Club home page Giter Club logo

laravel-notes's Introduction

Notes

REST api, Laravel, used in Notes app.

API Documentation

Installation and deployment

  1. Clone repo and install all dependencies:
composer install

Make sure you created .env

cp .env.example .env

with properties set with link to Notes application

SESSION_DOMAIN=
SANCTUM_STATEFUL_DOMAINS=

Dont forget to php artisan key:generate

  1. Create database and set correspond properties in .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=notes
DB_USERNAME=
DB_PASSWORD=
  1. Populate db with migrations and seeds:
php artisan migrate --seed
  1. Generate OpenApi json file, required for Swagger documentation by custom command, php artisan openapi:generate, located in app/Console/Commands/GenerateOpenApiJson.php, which generates api.json in ./public/docs directory if you run it w/o arguments.
  • First argument is a path and a name for the generated file (extension must be json) ./public/docs/api.json by default.
  • Second argument is a directory to scan for OpenApi PHPDocs, app by default.

Features and instruments used

  • Login and registration, logout
  • Adding new, updating and deleting notes

Tech stack used

laravel-notes's People

Contributors

vladimirbalin avatar

Watchers

 avatar

laravel-notes's Issues

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.