API for a microblogging platform
Clone the project repository by running the command below if you use SSH
git clone git@github.com:ammezie/codebits-api.gitIf you use https, use this instead
git clone https://github.com/ammezie/codebits-api.gitAfter cloning,run:
composer installDuplicate .env.example and rename it .env
Then run:
php artisan key:generate
php artisan jwt:secretBe sure to fill in your database details in your .env file before running the migrations:
php artisan migrateAnd finally, start the application:
php artisan serveand visit http://localhost:8000/graphiql to see the application in action.