Created
September 25, 2017 19:26
-
-
Save dphurley/c311163ab27bab1d57af3f4eca085ad6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express') | |
const app = express(); | |
const studentsController = require('./controllers/students_controller') | |
app.use('/students', studentsController) | |
const port = 3000; | |
app.listen(port, () => { | |
console.log(`Express started on ${port}`) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment