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.
- React
- Tailwind CSS
- Chakra-ui
- React Buddy
- TypeScript
- Redux Toolkit
- Axios
- React Router DOM
- Express
- mongoose
- bcrypt.js
- jsonwebtoken
- express-async-handler
cd my-app
cd client
npm install
cd ..
npm installnpm 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 watchneeds to be executed before starting the development server withnpm run devas the TypeScript files need to be compiled to JavaScript before staring the dev server with node.ts-nodecan be used this to avoid this.
- Includes testing frameworks, eslint and prettier.
- Create a npm CLI library for scaffolding projects.
MIT License.