Skip to content

ahmedsaed27/odc-api-project

Repository files navigation

Hackathon Project

We want an app that promotes local businesses as well as tourism in each Egyptian Governorate,including reels on locals’ opinions about cafes, restaurants, and other establishment.

Requirements:

1- Basic and JWT Authentication.

2- Social Authentication with google token.

3- Database oriented project (feel free to use any type of database).

4- REST API

5- A secure way to store and display the reels.

How to use

go to env file and set your google_client_id , google_client_secret

if you dont have you should create one to login with google // here your link to create a project

https://console.cloud.google.com

get your Access token by This link

https://developers.google.com/oauthplayground

run migration

php artisan migrate

run seeder 'php artisan db:seed' or go to this Uri

http://127.0.0.1:8000/seed

now you have two users

user number one -> email => [email protected]  , password => password , role => User
user number two -> email => [email protected] , password => password , role => Admin

you can login with google by Access token

Post man docs

https://documenter.getpostman.com/view/22323709/2s8YYBQRJX

About

laravel v9 - rest api - jwt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages