Home

Awesome

🎯 Darty React App

build status dependencies coverage status license

README

Darty is a front-end development system to allow developers to start their projects immediately. By Darty's convention over configuration mindset, webpack and typescript compiler configurations are handled by darty's itself.

Darty React App is a front-end development template for Darty.

Features (inherited from Darty)

Architecture and Libraries

Quick start

Ensure that node.js is installed on your system first.

Alternative 1

yarn install
yarn dev

Alternative 2

Use the following command to create app with create-darty-app:

yarn create darty-app react app
cd app
yarn dev

Alternative 3

Clone the git repo and execute install dependencies from npm to get ready:

git clone --branch=master https://github.com/eserozvataf/darty-react-app.git app
cd app
yarn install
yarn dev

NPM Tasks

Use yarn <task> command in project folder to execute tasks defined in package.json.

TaskDescription
bundleBuilds the project, generates required files
bundle:prodBuilds the project, generates required files (production)
startStarts SSR-enabled express server
devEnables live development environment powered by hot module reloading
lintExecutes linter to check codebase against linting errors
lint:fixExecutes linter to check and FIX codebase against linting errors
testRuns tests to check codebase against unit testing scenerios
test:coverageRuns tests with calculating coverage stats
containerizeCreates containerization files and gives instructions for docker

Directory Structure

Path.Description
/src/The folder for your source files
/src/app/Main Application
/src/app/assets/- Assets (images, fonts, stylesheets, etc.)
/src/app/layouts/- Layouts / Templates
/src/app/pages/- Pages
/src/app/appContainer.tsx- Main application router
/src/startup.tsThe list and configuration of your mapped applications
/src/index.htmlThe index file
/public/The folder for your static files will be on your webroot

Todo List

See GitHub Projects for more.

Requirements

Notes and Credits

Uses google-webfonts-helper for embedding webfonts.

License

Apache 2.0, for further details, please see LICENSE file

Contributing

See contributors.md

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome.

To Support

Visit my patreon profile at patreon.com/eserozvataf