Skip to content

A vite with react boilerplate to quickly start a react project with pre-configured dependencies.

License

Notifications You must be signed in to change notification settings

matheusdoedev/vite-react-boilerplate

Repository files navigation

Vite React Boilerplate

  • It is a Vite with React boilerplate.

Technologies

  • React
  • React Query
  • TypeScript
  • Vite
  • Axios
  • Formik
  • TailwindCSS
  • Yup
  • Testing Library
  • Jest
  • Vitest
  • ESLint
  • Prettier
  • Dockerfile
  • Docker Compose

Installation

1. Clone the project

git clone git@github.com:matheusdoedev/nextjs-boilerplate.git

Running project in development mode

1. Install dependencies

npm install

yarn

2. Run project

npm run dev

yarn dev

Running project in production mode with Docker & Docker Compose

1. Run with docker-compose

docker-compose up

# or in detach mode

docker-compose up -d

Running project in production mode without Docker

1. Install dependencies

npm install

yarn

2. Build project

npm run build

yarn build

3. Run project

npm preview

yarn preview

Contributing

  1. Fork it (<git@github.com:matheusdoedev/pizza-army.git>)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes following conventional commits pattern (git commit -am 'feat: add some feature')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Reques