Skip to content

Commit

Permalink
🎉 First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amirzenoozi committed Jan 1, 2024
0 parents commit 8982557
Show file tree
Hide file tree
Showing 105 changed files with 29,938 additions and 0 deletions.
Empty file added .env.example
Empty file.
20 changes: 20 additions & 0 deletions .github/workflows/docker-hub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Portfolio CI/CD

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Build & Push Image
run: |
echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u "${{secrets.DOCKERHUB_USERNAME}}" --password-stdin
docker image build . -t amirzenoozi/linkly-react-app:latest
docker push amirzenoozi/linkly-react-app:latest
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.idea

npm-debug.log*
yarn-debug.log*
yarn-error.log*
29 changes: 29 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Dockerfile

# Use an existing node alpine image as a base image.
FROM node:18-alpine

# Set the working directory.
WORKDIR /app

# Copy the package.json file.
COPY package.json yarn.lock ./

# Install application dependencies.
RUN yarn install --production

# Install serve node package.
RUN yarn global add serve

# Bundle app source
COPY . .

# Build the application.
RUN yarn build

# Expose the port.
EXPOSE 3000

# Run the application.
CMD ["serve", "-s", "build", "-l", "3000"]

Binary file added Main.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Linkly URL Shortener React App


![](https://github.com/amirzenoozi/linkly-react-app/blob/main/Main.jpg)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
This project lets you have a simple portfolio website that is responsive and easy to use.
You can add your skills and experiences.

## Run the project
In the project directory, you can run:
1. ```yarn install```
2. ```yarn start```
3. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

## Other Available Scripts

1. For Test: `yarn run test`
2. For Build: `yarn run build`
3. For Manual Setting: `yarn run eject`

> **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.


## Useful Links

1. [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
2. [React documentation](https://reactjs.org/).
Loading

0 comments on commit 8982557

Please sign in to comment.