Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoApp committed Jun 25, 2024
1 parent 6b426f3 commit c5aba4c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"name": "Anythink Development Container",
"image": "public.ecr.aws/v0a2l7y2/wilco/anythink-devcontainer:latest"
"image": "public.ecr.aws/v0a2l7y2/wilco/anythink-devcontainer:latest",
"customizations": {
"vscode": {
"extensions": ["GitHub.copilot", "GitHub.copilot-chat"]
}
}
}
5 changes: 5 additions & 0 deletions backend/routes/api/comments.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const router = require("express").Router();
const mongoose = require("mongoose");
const Comment = mongoose.model("Comment");

module.exports = router;
1 change: 1 addition & 0 deletions backend/routes/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ router.use('/', require('./users'));
router.use('/profiles', require('./profiles'));
router.use('/items', require('./items'));
router.use('/tags', require('./tags'));
router.use('/comments', require('./comments'));
router.use('/ping', require('./ping'));

router.use(function(err, req, res, next){
Expand Down

0 comments on commit c5aba4c

Please sign in to comment.