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.
This project is the product of many years of iterative development and combined community knowledge. However you're free to architect your code in the way that you want, you'll be starting with a structured, scaleable and adaptable basecode.
- Sample React App Source: https://github.com/eserozvataf/darty-react-app
- Sample React App Preview: http://darty-react-app.s3-website-eu-west-1.amazonaws.com
The project was named as Dart after the dart game all we know. Although I think it's a generic name, authorities from Google have claimed dart is a trademarked name they own. They asked me to find a new name for this project. Otherwise, they stated that their legal or trademark teams will be involved.
Sadly... that's the reason why I renamed this project as darty.
- Module bundling for packing everything into modules with their sourcemaps.
- Dynamic code splitting.
- SASS compilation of .scss files.
- CSS Modules.
- Minification for stylesheets and scripts.
- Hot module reloading and continuous development environment.
- Isomorphic/Universal codebase between server and client.
- Server-side rendering.
- IntelliSense support on TypeScript.
- Unit-testing setup and TDD-ready environment.
- Autoprefixed CSS to avoid adding vendor prefixes.
- Containerization-ready for continuous integration/deployment environments.
Fixed and Extensible Parts
Static components are:
- Jest for tests, ESLint for linting.
- Webpack for module bundling.
- express for server-side rendering.
The rest are depends on the preset chosen.
React preset broughts react components and setup, Vue preset broughts vue setup and etc.
node.js is installed on your system first.
Use the following command to create app with create-darty-app:
npx create-darty-app react app cd app npm run dev
Clone a sample app's git repo
git clone https://github.com/eserozvataf/darty-react-app.git - and checkout the tagged
release you'd like to
npm install to install dependencies. Then run
npm run dev for starting
darty [task] command in project folder to execute tasks defined in
||Builds the project, generates required files|
||Builds the project, generates required files (production)|
||Starts SSR-enabled express server|
||Enables live development environment powered by hot module reloading|
||Executes linter to check codebase against linting errors|
||Runs tests to check codebase against unit testing scenerios|
||Creates containerization files and gives instructions for docker|
- BrowserSync support
- Service Workers
See GitHub Projects for more.
- node.js (https://nodejs.org/)
Apache 2.0, for further details, please see LICENSE file
It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome.
- To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
- To report a bug: If something does not work, please report it using GitHub Issues.