/updates-service

Primary LanguageJavaScriptMIT LicenseMIT

Kickstarter (Updates Service)

Screenshot

screenshot

Project description

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

// New terminal at each step
npm run start
npm run build
mysql.server start THEN mysql -u root

Endpoints

Action Method Endpoint Purpose
Create POST /api/projects/:projectId/updates Insert new update
Read(All) GET /api/projects/:projectId/updates Get all updates
Read(One) GET /api/projects/:projectId/updates[/:updateId, ?name=updateName] Get one update
Update PUT /api/projects/:projectId/updates/:updateId Update one update
Delete DELETE /api/projects/:projectId/updates/:updateId Delete an update

Requirements

An nvmrc file is included if using nvm.

  • Node 8.12.0
  • MySQL v5.7.23

Development

Installing Dependencies

From within the root directory:

npm install -g webpack
npm install