Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#163081746 handle user routes #20

Merged
merged 2 commits into from Feb 19, 2019

Conversation

jtad009
Copy link
Owner

@jtad009 jtad009 commented Jan 9, 2019

What does this PR do?

  1. Setup node server middle ware
  2. handles CORS request
  3. re-route API calls to appropriate route class
    ####Description of Task to be completed?
  4. setup database

####How should this be manually tested?
After cloning the repo, Cd in to the directory and run the npm install command and the npm start command after wards.

####Any background context you want to provide?

#163081746
Screenshots (if appropriate)
Questions:


const express = require('express');
const cors = require('cors');
const bodyParser = require('body-parser');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use es6 imports.

@chukwuemekachm
Copy link
Collaborator

@jtad009, your commit message should be very descriptive.

@jtad009 jtad009 merged commit 24d71a5 into master Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants