Skip to content

Vite Template using MERN(ChakraUI, ESLint, TailwindCSS, React-Buddy, RTK)

License

Notifications You must be signed in to change notification settings

Garabed96/MERN-Vite-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-mern-template

Simple opinionated boilerplate for MERN stack with Vite and RTK. This includes React+TypeScript with familiar configuration for vite.config.ts for front-end and Express+TypeScript for back-end.

Tools

Install dependencies

cd my-app
cd client
npm install
cd ..
npm install

Start the development server

npm run watch
npm run dev
  • Run the above two commands on different terminal sessions.

  • Remove the .git folder and initialize your own git repository.

  • In this case npm run watch needs to be executed before starting the development server with npm run dev as the TypeScript files need to be compiled to JavaScript before staring the dev server with node. ts-node can be used this to avoid this.

TODO

  • Includes testing frameworks, eslint and prettier.
  • Create a npm CLI library for scaffolding projects.

License

MIT License.

About

Vite Template using MERN(ChakraUI, ESLint, TailwindCSS, React-Buddy, RTK)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published