GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - josemigallas/users-api: Persistent RESTful API with basic CRUDL operations, written with Express and Typescript, that manages the dataset provided in https://gist.githubusercontent.com/jasonmadigan/009c15b5dc4b4eccd32b/raw/34759c44e77d2f3515e20ed561cdd7a5e8345585/users.json

BranchesTags
Open more actions menu

Latest commit

 

History

69 Commits
69 Commits

Folders and files

NameName
Last commit message
Last commit date
spec
spec
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Users RESTful API

Build Status

This API allows all CRUDL operations over the dataset hosted in https://gist.githubusercontent.com/jasonmadigan/009c15b5dc4b4eccd32b/raw/34759c44e77d2f3515e20ed561cdd7a5e8345585/users.json.

Reference

You can find a complete reference to the API in our awesome Apiary.

Usage

For normal production behaviour, first set ENV_NODE and then simply install dependencies and start it up by running the next command. Typescript transpilation is taken care of right after installation.

$ export ENV_NODE="production" && npm install && npm start

You should see this message:

Users API listening on port 3000 in production mode

In case you would like a fresh start, cleaning all generated files files run:

$ npm run clean

Test Suite

Alongside unit tests, the suite also performs some testing over the API routes. For this, all you have to do is:

$ export ENV_NODE="development" && npm install && npm test

CI / CD

Continuous integration it's been done by Travis CI. It tracks every push and PR and un the full test suite.

Additionally, the app is being deployed on Heroku, both in development (when changes are pushed to dev) and production (when commits are merged into master).

Development deployment -> https://screener-users-api-development.herokuapp.com/ Production deployment -> https://screener-users-api-production.herokuapp.com/

About

Persistent RESTful API with basic CRUDL operations, written with Express and Typescript, that manages the dataset provided in https://gist.githubusercontent.com/jasonmadigan/009c15b5dc4b4eccd32b/raw/34759c44e77d2f3515e20ed561cdd7a5e8345585/users.json

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.