/portfolio

My personal portfolio

Primary LanguageJavaScriptMIT LicenseMIT

My Portfolio Frontend with React.js and Next.js

Publish docker image (CI) Code style: prettier PRs Welcome License

Features

  • Production ready Dockerfile
  • Implemented sentry error tracking and monitoring
  • Linting with Eslint 8
  • Format code with Prettier
  • ES6+ features with babel (including es6 import/export feature)
  • Logging with Pino
  • Traslate with next-i18next

Prerrequisites

Installation

Clone or download this repository:

git clone https://github.com/alexjcm/portfolio.git
npm install

Run the development server:

npm run start:dev

Open http://localhost:3000 to view it in the browser.

Generate an optimized version of your application for production. Build the production application in the .next folder.

npm run build
npm start

Deployment with docker

Build image:

docker build -t alexjcm/portfolio -f docker/DockerfileProd .

Or

docker pull alexjcm/portfolio

Start container:

docker run --restart unless-stopped -d -p 3000:3000 --name portfolio alexjcm/portfolio

Stop container:

docker stop portfolio

TODO

  • Test cases written with Jest and React Testing Library

Conventional commits

To view the convention used for commit messages, click here

License

MIT licensed.