This file contains 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 JWTDecode from 'jwt-decode'; | |
import { AuthApi } from './auth.api'; | |
import { config } from '../config'; | |
const { API_ENDPOINT } = config[process.env.NODE_ENV]; | |
axios.defaults.baseURL = API_ENDPOINT; | |
axios.defaults.timeout = 7000; |
This file contains 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
FROM node:16-alpine as builder | |
RUN apk add curl bash | |
# install node-prune (https://github.com/tj/node-prune) | |
RUN curl -sfL https://gobinaries.com/tj/node-prune | bash -s -- -b /usr/local/bin | |
USER node | |
WORKDIR /home/node |
This file contains 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
#!/bin/bash | |
echo "Downloading MeiliSearch" | |
# | |
# Install MeiliSearch | |
# https://docs.meilisearch.com/create/how_to/running_production.html#step-2-run-meilisearch-as-a-service | |
# | |
# Update the list of available packages and their versions |
This file contains 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
#!/bin/bash | |
# Copyright © 2017 Google Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
This file contains 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
JAVAC=javac | |
JAVA=java | |
JAVADOC=javadoc | |
OUT_DIR=out | |
DOCS_DIR=docs | |
SRC_DIR=. | |
JAVA_FILES=$(notdir $(wildcard $(SRC_DIR)/*.java)) | |
CLASS_FILES=$(JAVA_FILES:%.java=$(OUT_DIR)/%.class) | |
MAIN_CLASS=Main |
This file contains 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
neptune | |
blue_book | |
overlord | |
manhattan | |
barbarossa | |
desert_storm | |
paperclip | |
enduring_freedom | |
market_garden | |
rolling_thunder |