Giter VIP home page Giter VIP logo

api-rest-sanctum's Introduction

REST API with Sanctum

๐Ÿ’ป Description

Building a REST API With Sanctum Authentication

About Sancutm

Sancutm provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. To learn more about sanctum, click this link: (https://laravel.com/docs/9.x/sanctum)

๐Ÿš€ Technology Utilizated

The following tools were used in the building of the project:

  • PHP, version: 8.0.2
  • Composer, version: 2.3.4
  • Laravel, version: 9.2
  • Sanctum, version: 2.14.1

How to use?

  1. In this first part you will clone the repository:

        git clone https://github.com/leticiadia/api-rest-sanctum.git
  2. Next you will enter the directory:

        cd api-rest-sanctum
  3. Copy the .env.example file and rename it to .env

  4. Add all the values for the environment variables.

  5. The next step is to install the dependencies:

        composer install
  6. Run the application in development mode

         php artisan serve
  7. The server will start on port:8000 - go to http://localhost:8000

๐Ÿ‘ฉโ€๐Ÿ’ป Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

๐Ÿ‘ฉโ€๐Ÿš€ Author

Developed with ๐Ÿ’œ by Leticia Dias

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.