Website for the Qraft software engineering company; powered by Next.js and Tailwind CSS.
You need node
and we highly recommend installing it through a Version Manager, such as nvm
. The following will install node
LTS and npm
$ brew install nvm
$ nvm install --lts
yarn
is needed to fetch JS dependencies. Use brew
๐บ to install it; use --ignore-dependencies
to use node's version from nvm
.
$ brew install yarn --ignore-dependencies
Install the Javascript dependencies
$ yarn install
Run the project in development mode to start the development server ๐จ๐ปโ๐ญ
$ yarn dev
Open a new browser window on http://localhost:3000 to launch your app โ๏ธ ๐จ๐ปโ๐ญ
The project is linted using TypeScript and Eslint.
Run the linter manually to check your changes if needed:
$ yarn lint
Continuous integration ๐ค will run the linter and fail the build if any error is found. ๐ฎโโ๏ธ
Code style ๐
is enforced by Prettier
We rely on Prettier default settings, so no configuration file is needed/present.
Run prettier
manually to format your files if needed:
$ yarn format
Continuous integration ๐ค will run the formatter and fail the build if any error is found. ๐ฎโโ๏ธ