-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from CS3219-AY2425S1/dev
Milestone D2 Implementation
- Loading branch information
Showing
48 changed files
with
4,950 additions
and
2,695 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/bzPrOe11) | ||
|
||
# CS3219 Project (PeerPrep) - AY2425S1 | ||
|
||
## Group: G06 | ||
|
||
### Note: | ||
- You can choose to develop individual microservices within separate folders within this repository **OR** use individual repositories (all public) for each microservice. | ||
- In the latter scenario, you should enable sub-modules on this GitHub classroom repository to manage the development/deployment **AND** add your mentor to the individual repositories as a collaborator. | ||
- The teaching team should be given access to the repositories as we may require viewing the history of the repository in case of any disputes or disagreements. | ||
### Note: | ||
|
||
- You can choose to develop individual microservices within separate folders within this repository **OR** use individual repositories (all public) for each microservice. | ||
- In the latter scenario, you should enable sub-modules on this GitHub classroom repository to manage the development/deployment **AND** add your mentor to the individual repositories as a collaborator. | ||
- The teaching team should be given access to the repositories as we may require viewing the history of the repository in case of any disputes or disagreements. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DB_CLOUD_URI=<CONNECTION_STRING> | ||
DB_LOCAL_URI="mongodb://127.0.0.1:27017/peerprepQuestionServiceDB" | ||
PORT=3000 | ||
|
||
# Will use cloud MongoDB Atlas database | ||
ENV=PROD |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Ignore node_modules folder | ||
node_modules/ | ||
|
||
# Ignore the build output (dist directory) | ||
dist/ | ||
|
||
# Ignore TypeScript cache files | ||
*.tsbuildinfo | ||
|
||
# Ignore environment variable files | ||
.env | ||
|
||
# Ignore log files | ||
*.log | ||
npm-debug.log* | ||
|
||
# Ignore OS-specific files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Ignore IDE/editor specific files | ||
.vscode/ | ||
.idea/ | ||
|
||
# Ignore coverage folder for testing reports | ||
coverage/ | ||
|
||
# Ignore yarn lock file (optional, if using npm) | ||
yarn.lock | ||
|
||
# Ignore the typescript declaration map files | ||
*.map | ||
|
||
# Ignore temporary files created by editors | ||
*.swp | ||
*~ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:20-alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY package*.json . | ||
|
||
RUN npm install | ||
|
||
COPY . . | ||
|
||
EXPOSE 3000 | ||
|
||
CMD ["npm", "run", "start"] |
Oops, something went wrong.