https://github.com/tooinfinity/too-portfolio
Portfolio API with Laravel Framework
https://github.com/tooinfinity/too-portfolio
api laravel mysql-database php restful-api
Last synced: 2 months ago
JSON representation
Portfolio API with Laravel Framework
- Host: GitHub
- URL: https://github.com/tooinfinity/too-portfolio
- Owner: tooinfinity
- Created: 2022-08-28T10:58:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T10:16:01.000Z (over 3 years ago)
- Last Synced: 2025-03-23T15:51:33.782Z (over 1 year ago)
- Topics: api, laravel, mysql-database, php, restful-api
- Language: PHP
- Homepage:
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## too-portfolio API
### todo
### user module
- [x] user schema table
- id
- firstname
- lastname
- email
- password
- about_me
- [x] Methods
- [x] Login
- [x] register
- [x] getProfile
- [x] updateProfile
- [x] relations
- [x] user has many education
- [x] user has many certification
- [x] user has many skill
- [x] user has many social-account
- [x] user has many project
- [x] user has many job
### education module
- [x] education schema table
- id
- degree_name
- institute_name
- started_at
- ended_at
- is_completed
- user_id
- [x] relations
- [x] education has one user
- [x] Methods
- [x] index
- [x] store
- [x] update
- [x] delete
### certification module
- [x] certification schema table
- id
- name
- url
- is_published
- start_at
- ended_at
- user_id
- [x] relations
- [x] certification has one user
- [x] Methods
- [x] index
- [x] store
- [x] update
- [x] delete
### skill module
- [x] skill schema table
- id
- name
- image_url
- is_public
- user_id
- [x] relations
- [x] skill has one user
- [ x Methods
- [x] index
- [x] store
- [x] update
- [x] delete
### social_account module
- [x] social_account schema table
- id
- url
- name
- is_public
- image_url
- user_id
- [x] relations
- [x] social_account has one user
- [x] Methods
- [x] index
- [x] store
- [x] update
- [x] delete
### project module
- [x] project schema table
- id
- name
- description
- url
- image_url
- is_published
- is_opensource
- user_id
- [x] relations
- [x] project has one user
- [x] Methods
- [x] index
- [x] store
- [x] update
- [x] delete
### job module
- [x] job schema table
- id
- company_name
- role
- started_at
- ended_at
- is_ended
- user
- [x] relations
- [x] job has one user
- [x] Methods
- [x] index
- [x] store
- [x] update
- [x] delete
### contact_me module
- [x] contact_me schema table
- id
- name
- email
- subject
- message
- [x] Methods
- [x] store
- [x] adding this to .env
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your_email
MAIL_PASSWORD=generated_google_application_password
MAIL_ENCRYPTION=null
### API Documentation
#### Installation package generator docs
You can install the package via composer:
```bash
composer require rakutentech/laravel-request-docs --dev
```
You can publish the config file with:
```bash
php artisan vendor:publish --tag=request-docs-config
```
#### Usage
View in the browser on ``/request-docs/``
Generate a static HTML and open api specification
```php
php artisan lrd:generate
```
Docs HTML is generated inside ``docs/``.
### setting up cors for frontend
add this key to .env file
SANCTUM_STATEFUL_DOMAINS=domain.too
SESSION_DOMAIN=.domain.too