Skip to content
 
 

Repository files navigation

Project Name

Project description

Related Projects

Table of Contents

  1. Usage
  2. Requirements
  3. Development

Usage

Before seeding the database:

mysql -u root -p [Enter password] create database inst;

To seed database: node database/seed.js

To start server: node server/index.js

To build: npm react-dev

To test: npm test

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • etc

Development

Installing Dependencies

From within the root directory:

npm install -g webpack
npm install

API Routes

Route/Endpoint Description Method
/courses/:id Retrieve course by id GET
/:id/instructors Retrieve instructors by course id GET
/courses Add new course POST
/courses/:id Edit course hours by id PUT
/courses/:id Remove course by id DELETE

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages