Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoApp committed Mar 20, 2024
1 parent 60c5d60 commit 8b02aa9
Show file tree
Hide file tree
Showing 4 changed files with 16 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
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ When implementing a new feature or fixing a bug, please create a new pull reques

### Using Codespace
1. run `docker compose up`
### On your local machine
1. [Install Docker](https://docs.docker.com/get-docker/)
2. [Install Docker Compose](https://docs.docker.com/compose/install/)
3. Run `docker compose up`.

## Tests
Documentation about running the End to End test can be found under the `/tests` directory

0 comments on commit 8b02aa9

Please sign in to comment.