Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mattias J Duffy
schedules
Commits
a1c579fb
Unverified
Commit
a1c579fb
authored
Aug 07, 2016
by
Mark Stenglein
Browse files
add pretty header to api file
parent
0349e198
Changes
1
Hide whitespace changes
Inline
Side-by-side
schedules/routes/api/v1.js
View file @
a1c579fb
////////////////////////////////////////////////////////////////////////////////
// Mason SRCT: Schedules API v1
// - This API supports the Schedules project at schedules.gmu.edu as the backend
// data source for the application sent on the front end.
////////////////////////////////////////////////////////////////////////////////
var
express
=
require
(
'
express
'
);
var
router
=
express
.
Router
();
var
mongoose
=
require
(
'
mongoose
'
);
...
...
@@ -6,9 +12,6 @@ var Semester = require('../../models/Semester');
// Load site wide configurations
var
config
=
require
(
'
../../config
'
);
// Setup Slug Cache for redis cache
var
jsonSlugCache
=
{
slugs
:
[]
};
////////////////////////////////////////////////////////////////////////////////
// JSON API Section
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment