Coursera About Service Contains a description of the course, along with some strategic goals and possible outcomes of taking the course.
- https://github.com/rpt26-sdc-singleton/jrudio-proxy
- https://github.com/rpt26-sdc-singleton/alex-reviews
- https://github.com/rpt26-sdc-singleton/jason-titleBanner-service
- https://github.com/rpt26-sdc-singleton/jsmithInstructorsService
From within the
db
directory, runseedRunner.js
to seed the database and wait for it to complete. Runnpm build
to build the webpack bundle Runnpm server-dev
to start the server. Server runs on port 3002.
An nvmrc
file is included if using nvm.
- Node 6.13.0
- etc
From within the root directory:
npm install -g webpack
npm install
- returns json payload
- Creates a new listing that takes no input on the body
- returns a 201 if successful
- Accepts fields in the request body to mutate the listing at requested id
- returns a 200 status code on success
- returns a 200 status code on successful deletion
To setup Postgres on Docker:
- Target machine must have docker-compose installed
- Deploy
docker-compose.yml
andschema.sql
to the server - Change the password in
schema.sql
anddocker-compose.yml
to something secure and in sync
To seed:
Requirements: Go 1.14+
- build the
data-gen.go
viago build -o seed
PG_URL=postgres://<username>:<password>@<host>:<port>/<database-name>