• Stars
    star
    149
  • Rank 248,619 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Deliver react + react-router application to gh-pages

React pages boilerplate

Cover This boilerplate introduces a simple way for developing serverless React applications, which are perfect for serving from Github Pages.

Technologies

Getting started

  • Clone git clone https://github.com/rtivital/react-pages-boilerplate or download this repository.
  • (Optional) Run nvm use. This will ensure that you are running the supported version of Node.js. You can nvm installation instructions here.
  • Install dependencies: yarn
  • Run the project: npm start

Settings

settings.js file includes all important settings that should be used to setup deployments to gh-pages:

  • title – Base application title
  • cname – Adds CNAME file that allows to use custom domain names with gh-pages
  • repoPath – username.github.io/repoPath for react router to recognize gh-pages paths
  • prerenderRoutes – routes that should be prerendered before deploy

npm scripts

  • npm start – starts development server with webpack-dev-server
  • npm test – runs tests with Jest
  • npm run build – builds project to production
  • npm run deploy – builds and deploys project to Github pages
  • npm run lint – lints JavaScript files
  • npm run prettier – format js and jsx files with prettier

Changelog

See releases section to get information about new cool features added to the project.

More Repositories

1

omatsuri

PWA with 12 open source frontend focused tools
JavaScript
2,546
star
2

react-things

Коллекция материалов для изучения React
JavaScript
819
star
3

jsraccoon

Советы по верстке и программированию на JavaScript – http://jsraccoon.ru
JavaScript
805
star
4

mantine-v7

Mantine v7 migration
TypeScript
129
star
5

proschet

Микробиблиотека для склонения слов в русском языке
JavaScript
47
star
6

xooks

General purpose react hooks collection
TypeScript
41
star
7

react-monorepo-starter

Starter project for react monorepository
JavaScript
36
star
8

ts-package-template

A template to create npm packages with TypeScript
TypeScript
31
star
9

validate

Modern lightweight library without dependencies for the data validation from single input tag
JavaScript
24
star
10

react-challenge-sort-and-search

Первый выпуск React Challenge: сортировка и поиск данных
JavaScript
22
star
11

svgo-browser

svgo fork with interface for browser and additional tweaks for node
JavaScript
22
star
12

react-challenge-colorizr

Второй выпуск React Challenge: Colorizr — сервис для работы с цветом
JavaScript
15
star
13

snake

Snake game built with TypeScript and Redux – https://rtivital.github.io/snake/
TypeScript
9
star
14

fastify-template

A basic Fastify template with TypeScript, ESM, ESLint and Prettier. Node.js 18+ only.
TypeScript
8
star
15

mantine-next-example

Mantine + Next usage example
JavaScript
8
star
16

remix-mantine-ssr

TypeScript
6
star
17

mantine-v6-docs

HTML
5
star
18

dotfiles

My .bash_profile and .bashrc configuration
Shell
5
star
19

rbem

bem__naming-made--easy
JavaScript
5
star
20

mantine-v5-legacy-docs

Mantine v5 docs preview
HTML
3
star
21

notifications-demo-mantine

TypeScript
3
star
22

mantine-preact-example

Mantine + Preact usage example
JavaScript
3
star
23

dates-6.0

TypeScript
3
star
24

hash-css-selector

A function to hash CSS selectors, can be used with postcss-modules to generate short static unique class names
TypeScript
3
star
25

mantine-vite-heroku-template

Mantine Vite template with basic Node.js server to deploy application to Heroku
TypeScript
3
star
26

eslint-config

My Eslint configuration that I use for the majority of react projects
JavaScript
2
star
27

mantine-remix-1.4.3

TypeScript
2
star
28

mantine-tree-shaking-demo

JavaScript
2
star
29

vite-mantine-example

TypeScript
2
star
30

next-ts-mantine

Next + ts + Mantine example
TypeScript
2
star
31

mantine-templates-update-script

Script to update dependencies of all Mantine templates
TypeScript
2
star
32

version-next

Get next semantic version
TypeScript
2
star
33

alpha.mantine.dev

Mantine preview website on gh-pages
HTML
1
star
34

ohnomy.cash

TypeScript
1
star
35

mantine-v4-legacy-docs

Legacy Mantine v4 documentation
HTML
1
star
36

mantine-next-http-status-code

Mantine + Next usage example
TypeScript
1
star
37

mantine-v3-legacy-docs

Legacy v3 documentation for mantine.dev
HTML
1
star
38

mantine-dates-6

TypeScript
1
star