myfavoritealbums-backend's Introduction
myfavoritealbums-backend's People
myfavoritealbums-backend's Issues
[リファクタリング] コントローラー
Twitter認証機能の実装
- UserDB作成
- 各種Gemのインストール
- devise_token_authのインストール
- ログイン処理を実装
add: twitter認証機能の実装
fix: change_headers_on_each_requestをfalseに修正
—
Created via Raycast
TwitterAPI 不使用対応 バックエンド
Herokuにデプロイ
controllerのリファクタリング
ユーザー投稿のランダム表示機能(Backend)
コントローラーのリファクタリング
- Spotifyの連携周りの処理を切り出して、各controller内で利用する場合はsearchメソッドだけ使う形にする
- Twitterも同様に連携に処理を切り出す
- json周りはシリアライズのgemを利用してまとめる
- posts_controllerのアクション内が結構肥大化しているため、処理を分けてprivateメソッドに移行したり、バイナリファイルを作成する処理を別 ファイルに切り出す
- post周りの登録処理をモデルのメソッドに処理を寄せる
フロントから送られてきたアルバム情報をもとに画像を作成
- ActiveStorageの設定
- ImageMagickを利用し9枚をタイルに並べた画像を作成
- S3の設定
searchアクションのリファクタ
SpotifyAPIの設定
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.