cesar1983 / dockerized-nextjs

Boilerplate to start with Docker setup (Next.js included)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ„ dockerized

emoji-log Twitter

πŸ“¦ Setup

πŸ–₯️ Development environment

  • Run
git clone https://github.com/KumarAbhirup/dockerized dockerized # to clone project
cd dockerized # enter in the project
docker-compose up
  • Rename all the .env.example to .env.

  • Create a .env file in the root of the directory.

  • Visit http://localhost:3000/

βš’οΈ Linting

In VSCode

  • Install ESLint and Prettier VSCode extensions.
  • Done! Now you have live linting and autofixing setup!

In Any other IDE

  • Run yarn lint in indivisual packages to check for linting errors.
  • Run yarn lint:fix to fix the linting errors.

πŸ¦„ Info

  • We are following the micro-services architechture. That means, to install npm modules, you'll have to run yarn add in the respective packages.
  • To customize the linter, use .eslintrc and .prettierrc file. Learn more

πŸ“ License

MIT Β© Kumar Abhirup

Created by Kumar Abhirup πŸ‘‰ Twitter.

Peace ✌️

About

Boilerplate to start with Docker setup (Next.js included)

License:MIT License


Languages

Language:JavaScript 40.6%Language:TypeScript 37.2%Language:Dockerfile 22.2%