/restaurant-api

This project provides a API build using Laravel framework for a restaurant. On login using the API login route you check if the user exists and then you return the token . This token can then be used for authentication for the rest of the endpoints.

Primary LanguagePHP

Restaurant Laravel API

Run the project locally

Execute the fallowing sequence of commands in terminal

  1. compoer install

  2. npm install

  3. php artisan serve

  4. npm run dev

Postman

In the root directory of the project is the restaurantAPI.json file which contains the collection for testing the endpoints using postman.