https://github.com/spudmashmedia/spudmash-hack-randomuser-dnxcore50
https://github.com/spudmashmedia/spudmash-hack-randomuser-dnxcore50
dnx excercise
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/spudmashmedia/spudmash-hack-randomuser-dnxcore50
- Owner: spudmashmedia
- Created: 2016-03-13T23:33:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-13T23:47:23.000Z (over 10 years ago)
- Last Synced: 2025-03-06T08:57:18.014Z (over 1 year ago)
- Topics: dnx, excercise
- Language: C#
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spudmash Quick Hacks: Random User API - DNX Core 50
*Quick Hack Tasks:*
Integrate the REST service by building a DNXCore50 Web API (complete with Dockerfile/docker-compose yaml) running on Linux.
Each tech will consist of:
- Responsive UI
- Service Layer
- Automated Test (UI, unit, integration)
## Prerequisites
- For DNXCore50, console, DNU, DNX needs to be installed
()
- Docker Toolbox (Kitematic, docker-compose)
## Installation
Clone this repo
### DNX Kestrel:
#### Build & Run
```
cmd> sh dnx-build.sh
```
#### Integration Test
SoupUI Integration Tests
```
src/Spudmash.Api.IntegrationTests/spudmash.api.randomuser.integrationtest.xml
```
Use endpoint `http://localhost:5000`
### Docker
#### Build Docker Container & Run
```
cmd> sh docker-build.sh
```
#### Integration Test
SoupUI Integration Tests
```
src/Spudmash.Api.IntegrationTests/spudmash.api.randomuser.integrationtest.xml
```
Use endpoint `http://192.168.99.100:8080`
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## History
| Date | Version | Description|
|-------|----------|-------------|
|2016-03-12 | 0.1 | Initial commit
## Credits
Copyright (c) 2015 Spudmash Media