Support boilerplate for TypeScript projects
I would like to support boilerplate code for ReasonML, TypeScript, ClojureScript, and Elm projects before I specialize in any of these frameworks. All of my projects should use TailwindCSS. All of this boilerplate should offer: - Same command to start developing - Same API to build and deploy - TailwindCSS support - Basic boilerplate for components, state, and routes This TypeScript boilerplate is not complete, but I would like to commit the progress in case I do not return to this for awhile.
This commit is contained in:
parent
1cc1ce5ccf
commit
9fdf4d00fa
16 changed files with 5906 additions and 0 deletions
26
boilerplate/typescript/README.md
Normal file
26
boilerplate/typescript/README.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Frontend Boilerplate
|
||||
|
||||
While many times I prefer using alt-languages like ReasonML, ClojureScript, or
|
||||
Elm, sometimes I prefer to write an application using TypeScript. This directory
|
||||
contains the necessary starter code to create these applications.
|
||||
|
||||
- React: Maps application state to UI
|
||||
- React-Router: Stateful routing for SPAs
|
||||
- Redux: Application state management
|
||||
- TypeScript: Type-safety
|
||||
- TailwindCSS: Styling library using utility classes
|
||||
- Prettier: Source code formatting
|
||||
- Jest: Test runner
|
||||
|
||||
## Developing
|
||||
|
||||
```shell
|
||||
$ nix-shell
|
||||
$ yarn run dev
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
```shell
|
||||
$ nix-build
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue