https://github.com/fdiskas/ukshop
https://github.com/fdiskas/ukshop
eslint nextjs prettier react tailwindcss typescript
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fdiskas/ukshop
- Owner: FDiskas
- Created: 2022-10-03T20:32:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-07T16:02:29.000Z (over 3 years ago)
- Last Synced: 2025-02-28T10:16:56.405Z (over 1 year ago)
- Topics: eslint, nextjs, prettier, react, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://ukshop-oz8f.vercel.app
- Size: 956 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What's included
The following improvements was done on top of pure nextjs
1. Added prettier
1. Added stylelint
1. Added typescript plugin to understand module scss
1. Added recommended settings and plugins for VSCode
1. Added jest test runner
1. Improved eslint
1. Integrated prettier with eslint
1. Integrated prettier with stylelint
1. Configured nextjs to understand scss
1. Configured typescript to understand css modules
1. Configured tailwind css
1. Automatically fetch API type definitions from swagger after installing node modules
> This project was bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) and added some candies :)
## How to
**Requirements:** Node and yarn (works with bunjs also)
**Development**
1. `yarn` to install dependencies
1. `yarn lint` check if all required modules is installed and code has no issues
1. `yarn dev` to start local development
**Production**
1. `yarn install --frozen-lockfile` install dependencies
1. `yarn build` to build production ready bundle
1. `yarn start` start the node server