https://github.com/bloomca/welgo-example
Example application using welgo library
https://github.com/bloomca/welgo-example
example express nodejs welgo
Last synced: 10 months ago
JSON representation
Example application using welgo library
- Host: GitHub
- URL: https://github.com/bloomca/welgo-example
- Owner: Bloomca
- Created: 2019-01-16T02:43:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-19T21:14:43.000Z (about 7 years ago)
- Last Synced: 2025-02-02T02:15:53.411Z (12 months ago)
- Topics: example, express, nodejs, welgo
- Language: JavaScript
- Size: 197 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Welgo Example Application
[](https://travis-ci.org/Bloomca/welgo-example)
This is an example application using [welgo library](https://github.com/Bloomca/welgo).
It is a simple Node.js application which shows [new HN stories](https://news.ycombinator.com/newest) using [official API](https://github.com/HackerNews/API).
The single difference is that instead of using traditional server-side templating languages here welgo is used, which provides [react-like components](./src/components/stories.js).
## Running
I used Node v11.6.0. You don't need to use this exact one, any recent version will work as well.
```sh
npm start # local development
npm test # run tests
```
## Tests
Tests are written using [Weltest](https://github.com/Bloomca/weltest) library.
You can see tests for:
- [Stories component](./src/components/__test__/stories.test.js)
- [NotFound page](./src/components/__test__/notFound.test.js)
## License
MIT