https://github.com/kottans/framework-2021
A custom framework empowered Weather App
https://github.com/kottans/framework-2021
fe-framework kottans weather-app
Last synced: about 1 year ago
JSON representation
A custom framework empowered Weather App
- Host: GitHub
- URL: https://github.com/kottans/framework-2021
- Owner: kottans
- Created: 2021-02-14T18:01:34.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-24T20:14:54.000Z (almost 5 years ago)
- Last Synced: 2025-03-25T03:51:13.505Z (about 1 year ago)
- Topics: fe-framework, kottans, weather-app
- Language: JavaScript
- Homepage: https://kottans.org/framework-2021/
- Size: 661 KB
- Stars: 28
- Watchers: 8
- Forks: 9
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Framework
A gradual FE JS framework development.
## End game
Have a web app as a practical implementation
of an application backed with a basic FE framework.
Framework features:
- components with props
- html-like syntax
- app state management
- event handling
- async network requests
Out of scope:
- reconciliation
- app state persistency between sessions
- everything else :)
## Development
Make sure you have [Node.js](https://nodejs.org/en/) installed on your machine.
`npm install` to install dependencies.
Ignore npm audit warnings.
If any changes appear on `package-lock.json` just commit those.
`npm start` to launch dev server, app would be served at http://localhost:1234/
`npm run lint` to lint and prettify your code
The project implements a pre-commit hook that launches staged files linting.
If your IDE reports a commit failure then run `npm run lint` and/or `npm run lint:staged`
and fix reported issues. Note that [`.eslintrc.js`](./.eslintrc.js) allows
`console.error` and `console.warn`.
`npm run build` to build production distribution package
`npm run deploy` to publish built app