A simple twitter-like app API
- Create unit test
- Create API documentation using Postman or any other tools
- Create a simple twitter-like app API
- Ability to register (required)
- Abiliti to login/logout
- Create/update tweet
- Delete tweet
- Upload file attachment(s) to a tweet
- Follow/unfollow a user
- List followed user's tweet
- List suggested users to follow
- Clone the repository
https://github.com/ruelrule05/geekee
- Copy example .env file
cp .env.example .env
- Run command
composer install
- Run command
npm install && npm run dev
- Run command
php artisan key:generate
- Update
.env
file- Database connection settings
DB_CONNECTION=mysql DB_DATABASE=<db_name | geekee> DB_USERNAME=<db_user | root> DB_PASSWORD=<db_password | [blank]>
- Run command
php artisan migrate:fresh --seed
- Run command
php artisan storage:link
To run the test, use the command
php artisan test