Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidchambers/fp-workshop
FP workshop presented at HolidayCheck in Munich on 2016-12-14
https://github.com/davidchambers/fp-workshop
Last synced: 30 days ago
JSON representation
FP workshop presented at HolidayCheck in Munich on 2016-12-14
- Host: GitHub
- URL: https://github.com/davidchambers/fp-workshop
- Owner: davidchambers
- Created: 2016-12-11T22:51:50.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-14T15:08:20.000Z (about 8 years ago)
- Last Synced: 2024-10-13T11:12:31.531Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Functional programming workshop
1. Clone the repository:
```console
$ git clone https://github.com/davidchambers/fp-workshop.git && cd fp-workshop
```2. Install dependencies:
```console
$ npm install
```3. Start the server:
```console
$ node server.js
Server listening at http://127.0.0.1:12345
```4. Check that the server is operational:
```console
$ curl http://127.0.0.1:12345/users/9999 # replace 12345 with the port number printed when the server started
{"id":"9999","username":"alice","address":{"city":"Munich","country":"Germany"}}
```5. Check that the __v0__ tests pass (the __v1__ tests will fail):
```console
$ PORT=12345 npm test # replace 12345 with the port number printed when the server started
```