- 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
- NodeJs 18.18
- portfolio-ws
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
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
- Test cases written with Jest and React Testing Library
To view the convention used for commit messages, click here