There is no need for writing boring boilerplate any more :)
@reactjs template with redux-toolkit and typescript included, And needed libs and pkgs installed and included as well.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000
to view it in the browser.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
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.
.../ts-react-redux-toolkit-template
β
βββ config-overrides.js
βββ docker-compose.yml
βββ Dockerfile.dev
βββ Dockerfile
β
βββ public
βΒ Β βββ assets
βΒ Β βΒ Β βββ fonts
βΒ Β βΒ Β βΒ Β βββ OperatorMonoLig-BookItalic.otf
βΒ Β βΒ Β βΒ Β βββ OperatorMonoLig-Book.otf
βΒ Β βΒ Β βΒ Β βββ OperatorMonoLig-MediumItalic.otf
βΒ Β βΒ Β βΒ Β βββ OperatorMonoLig-Medium.otf
βΒ Β βΒ Β βββ images
βΒ Β βΒ Β βββ loading.gif
βΒ Β βΒ Β βββ logo.svg
βΒ Β βΒ Β βββ notfound-cover.svg
βΒ Β βββ favicon.ico
βΒ Β βββ icon.svg
βΒ Β βββ index.html
βΒ Β βββ logo192.png
βΒ Β βββ logo512.png
βΒ Β βββ manifest.json
βΒ Β βββ robots.txt
β
βββ src
βΒ Β βββ api
βΒ Β βΒ Β βββ base.ts
βΒ Β βΒ Β βββ user
βΒ Β βΒ Β βΒ Β βββ endpoints-referrers.ts
βΒ Β βΒ Β βββ usual-collection-crud-callers
βΒ Β βΒ Β βββ endpoints-referrers.ts
βΒ Β βββ App.test.tsx
βΒ Β βββ App.tsx
βΒ Β βββ common
βΒ Β βΒ Β βββ constants
βΒ Β βΒ Β βββ interfaces
βΒ Β βΒ Β βΒ Β βββ auth
βΒ Β βΒ Β βΒ Β βΒ Β βββ auth.interface.ts
βΒ Β βΒ Β βΒ Β βββ comps
βΒ Β βΒ Β βΒ Β βΒ Β βββ add-banner.interface.ts
βΒ Β βΒ Β βΒ Β βΒ Β βββ banner.interface.ts
βΒ Β βΒ Β βΒ Β βΒ Β βββ footer.interface.ts
βΒ Β βΒ Β βΒ Β βΒ Β βββ form-input.interface.ts
βΒ Β βΒ Β βΒ Β βΒ Β βββ header.interface.ts
βΒ Β βΒ Β βΒ Β βΒ Β βββ hero.interface.ts
βΒ Β βΒ Β βΒ Β βΒ Β βββ layout.interface.ts
βΒ Β βΒ Β βΒ Β βΒ Β βββ notifyer.interface.ts
βΒ Β βΒ Β βΒ Β βββ slices
βΒ Β βΒ Β βΒ Β βββ initial
βΒ Β βΒ Β βΒ Β βββ initial.interface.ts
βΒ Β βΒ Β βββ styles
βΒ Β βΒ Β βΒ Β βββ app.sass
βΒ Β βΒ Β βΒ Β βββ index.sass
βΒ Β βΒ Β βΒ Β βββ utils
βΒ Β βΒ Β βΒ Β βββ _animation.util.sass
βΒ Β βΒ Β βΒ Β βββ _colors.util.sass
βΒ Β βΒ Β βΒ Β βββ _fonts.util.sass
βΒ Β βΒ Β βΒ Β βββ _helper-classes.util.sass
βΒ Β βΒ Β βΒ Β βββ _mixins.util.sass
βΒ Β βΒ Β βββ types
βΒ Β βΒ Β βΒ Β βββ signin-form.types.ts
βΒ Β βΒ Β βΒ Β βββ signup-form.types.ts
βΒ Β βΒ Β βββ utilities
βΒ Β βΒ Β βββ localstorage-dealer
βΒ Β βΒ Β βΒ Β βββ localstorage-getters.util.ts
βΒ Β βΒ Β βΒ Β βββ localstorage-setter.util.ts
βΒ Β βΒ Β βββ scroll-to-top
βΒ Β βΒ Β βββ scroll-to-top.util.ts
βΒ Β βββ components
βΒ Β βΒ Β βββ base
βΒ Β βΒ Β βΒ Β βββ initial
βΒ Β βΒ Β βΒ Β βββ initial.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ distributed
βΒ Β βΒ Β βββ ad-banner
βΒ Β βΒ Β βΒ Β βββ add-banner.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ banner
βΒ Β βΒ Β βΒ Β βββ banner.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ footer
βΒ Β βΒ Β βΒ Β βββ footer.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ form-input
βΒ Β βΒ Β βΒ Β βββ form-input.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ header
βΒ Β βΒ Β βΒ Β βββ header.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ hero
βΒ Β βΒ Β βΒ Β βββ hero.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ layout
βΒ Β βΒ Β βΒ Β βββ layout.comp.tsx
βΒ Β βΒ Β βΒ Β βββ style.sass
βΒ Β βΒ Β βββ notifyer
βΒ Β βΒ Β βββ notifyer.comp.tsx
βΒ Β βΒ Β βββ style.sass
βΒ Β βββ index.tsx
βΒ Β βββ react-app-env.d.ts
βΒ Β βββ redux
βΒ Β βΒ Β βββ hooks.ts
βΒ Β βΒ Β βββ slices
βΒ Β βΒ Β βΒ Β βββ initial
βΒ Β βΒ Β βΒ Β βββ initial.slice.ts
βΒ Β βΒ Β βΒ Β βββ logic
βΒ Β βΒ Β βΒ Β βββ async-call.sliceLogic.ts
βΒ Β βΒ Β βββ store.ts
β Β Β βΒ Β
βΒ Β βββ views
βΒ Β βββ contact
βΒ Β βΒ Β βββ contact.page.tsx
βΒ Β βΒ Β βββ style.sass
βΒ Β βββ landing
βΒ Β βΒ Β βββ landing.page.tsx
βΒ Β βΒ Β βββ style.sass
βΒ Β βββ not-found
βΒ Β βΒ Β βββ notfound.page.tsx
βΒ Β βΒ Β βββ style.sass
βΒ Β βββ signin
βΒ Β βΒ Β βββ signin.page.tsx
βΒ Β βΒ Β βββ style.sass
βΒ Β βββ signup
βΒ Β βΒ Β βββ signup.page.tsx
βΒ Β βΒ Β βββ style.sass
βΒ Β βββ terms
βΒ Β βββ style.sass
βΒ Β βββ terms.page.tsx
β
βββ serviceWorker.ts
βββ tsconfig.json
βββ setupTests.ts
βββ package.json
βββ yarn.lock
βββ README.md
βββ LICENSE
- For naming files and directories i like to use cabab-case
- For naming functions, utilities i like to use camelCase is javascript used to be
- For naming interfaces, types i like to use PascalCase
If you don't know how to contribute or where you can start.. I suggest to visit those links below
Things need contributions in this project
-
Create
constants/footer.data.ts
which is should contains footer data represented in arrays of objects, Or any other DS as needed.- then go to build footer with this data.
-
As same as footer, You can start build DS for header routes in the
/constants
directory.Also build the mobile-header menu and manage the responsiveness.
-
Create additional animations
/common/styles/utils/_animation.util.sass
-
Remove bootstrap and its redundant dependencies then replace it with Chakra-ui OR Ant-design
-
Write terms & policy data in
/constants
to use it later in terms page. -
Customize the project given components and modify it to be reusable as possible.
Feel free to star the repo
follow me on twitter @salihcodev