https://github.com/kacperfaber/codziennemotto-pl-app
🎈 Responsive web app made with ❤ in Mithril for CodzienneMotto.pl 🎈
https://github.com/kacperfaber/codziennemotto-pl-app
android cross-platform mithril npm typescript webpack
Last synced: about 2 months ago
JSON representation
🎈 Responsive web app made with ❤ in Mithril for CodzienneMotto.pl 🎈
- Host: GitHub
- URL: https://github.com/kacperfaber/codziennemotto-pl-app
- Owner: kacperfaber
- License: mit
- Created: 2023-04-22T14:03:45.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T10:05:37.000Z (almost 3 years ago)
- Last Synced: 2025-03-23T01:35:22.927Z (over 1 year ago)
- Topics: android, cross-platform, mithril, npm, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 1.08 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodzienneMotto.pl
Responsive Cross-Platform Application for codziennemotto.pl
**CodzienneMotto.pl** allows you to create a lists of daily quotes, invite users to join your list and schedule quote to specific day
I made with ❤ in Mithril and TypeScript.

## Installation
```shell
# Clone the repo and change current working directory.
git clone https://www.github.com/kacperfaber/codziennemotto-pl-app && cd codziennemotto-pl-app
```
#### Setup the app
```shell
# Install dependencies
npm install
# Will download all assets
npm run setup
```
#### Run locally using serve
```shell
# Will use webpack.config.dev.js and run app as developer.
npm run run-dev
```
## Configuration
The app actually uses only two configuration values
* **Profile** - When it's developer, we have some developer tools active.
* **ApiUrl** - URL when codziennemotto.pl API running. See [api](https://www.github.com/kacperfaber/codziennemotto_pl_server)
```js
// I'm using webpack-define-plugin to put this configuration variables into build.
// If you want to edit this, please see webpack.config.{profile}.js
// where {profile} is your active profile.
// for exmaple 'npm run run-dev' will work as developer.
new webpack.DefinePlugin({
"process.env.PROFILE": JSON.stringify("dev"),
"process.env.CONFIG": JSON.stringify({apiUrl: "http://localhost:8080"})
})
```
## Author
Kacper Faber