mdbytes / ReactTypeScriptTemplate

This repository offers a React application template using React version 18, React Router version 6.9 all in TypeScript with support from Dart Sass and Bootstrap 5.2. The project also includes a standard template for SEO and Social Media sharing meta tags.

Home Page:https://template.mdbytes.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React TypeScript Template

This repository represents that evolution of development in React and provides an efficient beginning for new websites and web applications. Because the information represents the accumulation of knowledge learned in the open source community, for free, it is only right that this repository be shared with the public under open source license (see license attached).

The template website provided herein has the following features

  • A React application with TypeScript as the base programming language.
  • Packaging support from react-scripts with Webpack and Babel behind the scene.
  • File types include TypeScript, JavaScript, Jsx, Sass, CSS, .png, .jpeg, .jpg and .webp
  • Routing support with the latest version of React Router (v.6.9)
  • To be consistent with recent trends, all components are functional with hooks used as appropriate.
  • UI support with the latest Bootstrap framework (v5.2).
  • Support for animations with Animate.css
  • A contact form with email support from Email.js. Developers and users will need to acquire their own authorization keys.
  • Included important SEO and Social Media meta data.
  • All code in this project is formatted with Prettier. Settings can be changed in VS Code or directly in the package.json file.

Additional mark down files can be found throughout the project to reference resources.

More information about the creation of this application and available scripts can be found below.

About Create React App

This project was bootstrapped with Create React App.

The creators of this repository have built npm packages including Webpack and Babel from scratch, but the present high quality of Create React App makes it such that scratch creation of React apps is necessary only upon rare circumstances.

The packaging tool provided offers the developer the opportunity to handle a wide range of image files, Dart Sass along with a host of JSX and React features.

This app is built with TypeScript as opposed to vanilla JavaScript. After years of development with vanilla JavaScript, the repository creator broadly adopted TypeScript as a way to develop large projects which are efficient and error free.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

About

This repository offers a React application template using React version 18, React Router version 6.9 all in TypeScript with support from Dart Sass and Bootstrap 5.2. The project also includes a standard template for SEO and Social Media sharing meta tags.

https://template.mdbytes.us

License:Other


Languages

Language:TypeScript 63.8%Language:SCSS 28.0%Language:HTML 8.2%