Skip to content

Commit

Permalink
Merge pull request #35 from krckyboy/#34
Browse files Browse the repository at this point in the history
#34 Renamed directories, made the required change in lint.yml and add…
  • Loading branch information
krckyboy authored Mar 17, 2024
2 parents b13cbf5 + dfffb28 commit 8546a25
Show file tree
Hide file tree
Showing 112 changed files with 7,233 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:

- name: Install Dependencies
run: npm ci
working-directory: ./client
working-directory: ./frontend

- name: Run Lint
run: npm run lint
working-directory: ./client
working-directory: ./frontend
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea
.idea
.env
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions frontend/.env.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEXT_PUBLIC_STRAPI_TOKEN=
NEXT_PUBLIC_STRAPI_URL=http://localhost:1337/api
33 changes: 33 additions & 0 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"env": {
"browser": true,
"node": true
},
"globals": {
"chrome": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"root": true,
"extends": ["next/core-web-vitals", "prettier"],
"rules": {
"no-console": 0,
"no-empty": [1, { "allowEmptyCatch": true }],
"quotes": [2, "single", { "avoidEscape": true }],
"eol-last": 0,
"no-multiple-empty-lines": 0,
"no-param-reassign": 0,
"max-len": 0,
"no-shadow": 0,
"import/prefer-default-export": 0,
"arrow-parens": ["error", "always"],
"no-prototype-builtins": 0,
"no-restricted-syntax": 0,
"guard-for-in": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"no-continue": 0,
"react/no-unescaped-entities": 0
}
}
38 changes: 38 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

.idea
5 changes: 5 additions & 0 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 140,
"singleQuote": true,
"arrowParens": "always"
}
19 changes: 19 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# krcky.dev

Welcome to the repository for my portfolio website, [krcky.dev](https://krcky.dev/). Built with Next.js, it's the place
where I share my journey as a Front-End Developer.

## Getting Started

To get a local copy up and running follow these simple steps:

1. Clone the repo: `https://github.com/krckyboy/krcky-dev`
2. Navigate to the project directory: `cd krcky-dev`
3. Install dependencies: `npm ci`
4. Run the project: `npm run dev`

## Built With

* [Next.js](https://nextjs.org/) - The web framework used
* [React](https://reactjs.org/) - A JavaScript library for building user interfaces
* [Node.js](https://nodejs.org/) - JavaScript runtime environment
11 changes: 11 additions & 0 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const path = require('path');

/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.resolve.alias['@'] = path.join(__dirname, 'src');
return config;
}
};

module.exports = nextConfig;
Loading

0 comments on commit 8546a25

Please sign in to comment.