This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { apiService } from 'utils/api' | |
| export const requestMemberInterests = (params) => { | |
| return apiService.get(`/path/to/happiness`, { params }) | |
| } | |
| export const requestMemberSubscriptions = (params) => { | |
| return apiService.get(`/path/to/happiness`, { params }) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios from 'axios' | |
| import qs from 'qs' | |
| const API_URL = process.env.API_URL | |
| // const OTHER_API_URL = pricess.env.OTHER_API_URL | |
| axios.defaults.headers.common.Accept = 'application/json' | |
| // Instances ----------------------------------------- | |
| export const apiService = axios.create({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| ββ src | |
| β ββ assets/ | |
| β β ββ fonts/ | |
| β β ββ styles/ | |
| β β β ββ partials/ | |
| β β β β ββ _common.scss # Common styling, e.g anchors. | |
| β β β β ββ (_tables.scss) # Element stylings that get too lengthy | |
| β β β β ββ _layout.scss # CSS not suitable in layout/components scoped css | |
| β β β β ββ _helpers.scss # If not using bootstrap 4 helpers |
NewerOlder