config set by Ivan Ruiz.
- Express
- Url prettifier
- SASS
- Page specific CSS Styling
- Prop-Types
- Normalize.css
- Next/Link active routes
- Translations (i18n)
- Sitemap.xml
- Robots.txt
- Jest Testing :
- ES6
- Supertest
- React Enzyme
- Enzyme to Json
- Allow css, sass and scss imports
- Transform file imports
To install dependencies run the following command:
Yarn:
yarn install
npm:
npm i // npm install
To start the production server:
Yarn:
yarn next:build
yarn start
npm run next:build
npm start
There's a bug with nodemon + next, so we cant watch filest at "pages" directory, but its still better then nothing:
Yarn:
yarn dev
npm:
npm run dev
To start testing with Jest:
Yarn:
yarn test
npm:
npm run test