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
# Run app with specific docker version | |
FROM node:12-slim | |
# Add description | |
LABEL description="This is the base docker image for the Basic react application." | |
# Add maintainer information | |
LABEL maintainer = ["m.arifpehlivan@gmail.com"] | |
# Create app directory |
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
Some useful links : | |
Git Game : | |
https://learngitbranching.js.org/ | |
Git Docs : (They have a lot of language support) | |
https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control | |
Css Game (Flex box): | |
https://flexboxfroggy.com/ | |
Flex-box cheat sheet : | |
https://css-tricks.com/snippets/css/a-guide-to-flexbox/ | |
HTML && CSS cheat sheet : |
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
vscode |
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
1. Change host / computer / localhost names | |
sudo scutil --set ComputerName arifpehlivan | |
sudo scutil --set HostName arifpehlivan | |
sudo scutil --set LocalHostName arifpehlivan | |
2. Install Homebrew & Cask | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
brew tap caskroom/cask |
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
Google Chrome | |
React Devtools | |
Intellij | |
Sublime | |
Source Tree | |
Slack | |
Postico | |
Spotify | |
FortiClient | |
Postman |
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
#elastic | |
spring: | |
data: | |
elasticsearch: | |
cluster-name: clusterName | |
properties: | |
http: | |
host: host | |
port: 9200 | |
enable: true |
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
#mongodb | |
spring: | |
data: | |
mongodb: | |
host: localhost | |
port: 27017 | |
database: databaseName |
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
package com.arif.crud.configuration; | |
import org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder; | |
import org.springframework.boot.context.properties.ConfigurationProperties; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.Primary; | |
import org.springframework.data.jpa.repository.config.EnableJpaRepositories; | |
import org.springframework.transaction.annotation.EnableTransactionManagement; | |
import javax.sql.DataSource; |
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
server: | |
port: 8090 | |
spring: | |
datasource: | |
url: jdbc:postgresql://localhost:5432/postgres | |
username: postgres | |
password: postgres | |
driver-class-name: org.postgresql.Driver |
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
version: '3' | |
services: | |
postgresql: | |
image: postgres:9.6-alpine | |
container_name: 'postgresql-db' | |
environment: | |
- POSTGRES_PASSWORD=postgres | |
ports: | |
- 5432:5432 |
NewerOlder