- Latest Next.js version.
- GraphQL Apollo client with built-in JWT authentication.
- Localization via react-i18next.
- Configured TypeScript environment.
- Configured Sass/SCSS via next-sass for styling (plus Normalize.css included).
- No custom server.
- Testing environment via Jest and @testing-library/react.
- Prettier for code formatting.
- Debug configuration for VSCode.
- Docker configuration to serve production-ready build with Nginx.
Before start using project you have to unstall dependencies by running one of these commands:
# If you're using Yarn package manager:
yarn
# If you're using NPM package manager:
npm install
We are using Jest for testing. To run tests located in /tests
directory use test
script from package.json
:
yarn test
Pretty much everything you need to know you can find in Next.js documentation.
To build and run Dockerized production-ready container, run:
docker-compose up --build