Skip to content

buraksaraloglu/fastify-react-vite-template

 
 

Repository files navigation

React Fastify template

Getting Started

Clone the repository

degit github:user/repo

Install Dependencies

npm i

Adding Dependencies

Please do not add dev dependencies to their own workspace

Dev dependecies

npm i --save-dev *package_name*

For Frontend

npm i -w client *package_name*

For Backend

npm i -w server *package_name*

Run development server

npm run dev

To build:

npm run build

To specify only building client add -w client the same is for server as well

Look at http://localhost:3000 to see your client and port 5000 for server(backend).

Contributing

Commit Message

To commit please follow the Conventional Commits rules

This will provide a prompt to help you write good commit messages for us to handle. This will automatically run the git commit command for staged files.

IMPORTANT: ALL MESSAGE SHOULD BE LOWERCASE

VSCode

If you want to commit in VSCode I highly recommend using this extension: Conventional Commits

You can access VSCode Conventional Commits in two ways:

  1. Command + Shift + P or Ctrl + Shift + P, enter Conventional Commits, and press Enter.
  2. Click the icon on the Source Control menu. See the image below.

Icon on the Source Control menu

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 47.2%
  • JavaScript 29.1%
  • Shell 10.1%
  • HTML 7.0%
  • CSS 6.6%