Skip to content

Frontend boilerplate code with React, JWT Authentication, Redux Toolkit, and TypeScript

Notifications You must be signed in to change notification settings

mahaverick/react-boilerplate

Repository files navigation

Boilerplate Frontend

This repository a collection of starter code, curated by yours truly. It's designed to help you kickstart your projects with a solid foundation for React with Tailwind CSS, JWT Authentication, Redux Toolkit, and TypeScript.

replace the word boilerplate with your project name and happy coding, Enjoy!

Steps to start development

Install all the dependencies

npm install or yarn

Verify .env.development files with following values

VITE_CLIENT_NAME=Boilerplate VITE_PORT=5137 VITE_HOST=localhost:5137 VITE_API_BASE_URL=http://localhost:3000

Run the development server

npm run dev or yarn dev

Run Test Suite

npm run test or yarn test

Project Structure

The layout of the project is:

  • src/: This directory contains all of the project's source code.
  • tests/: This directory contains tests for the project.
  • .env.development: This file contains environment variables for the development environment.

Contributing

When you are contributing to this project, please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

About

Frontend boilerplate code with React, JWT Authentication, Redux Toolkit, and TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published