forked from NidhayPancholi/feature-hunt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge backend new and backend and delete backend new directory (CSC51…
…0-Group-25#156) * added pylint workflow w/artifacts run: pylint --fail-under=1 $(find . -name "*.py" | xargs) note: set the failure threshold as indicated above actions/starter-workflows#636 (comment) * Added CodeQL & Pylint badges, edits * Added CodeQL badge * Added Pylint badge * Minor edits: updated git clone steps * Lowered pylint failure theshold * Update and rename build.yml to coveralls.yml * Added test files to pylint.yml * Updated py files to improve pylint score * Fixed error in coveralls.yml * Removed individual tests in pylint.yml * Added pylint labels * Added test workflow * Update and rename nodejsTest.yml to nodejs.yml * Update nodejs.yml * Update nodejs.yml * Added workflow build badge to README * Added yet another workflow All for the sake of a test badge. * Added test badge * Revert "group25 workflows" * Added post to Service.js and connected login form (incomplete) * Added appropriate error messages and display for errors * Added Sign up form * Added error handling and redirecting for login and sign up * fix to react compile warning * Dashboard and tag edits are now limited by user * New tags can now be saved in the database * Adding Product Controller and Test Cases * Adding more user auth and product auth test cases * Changing gitignore * Fixing test cases for user-auth class * Removing test cases which are not used * Commented out unused tests, added pylint comments * Restored and commented out unused tests * Added pylint skip comments * Removing merging backend and backend-new into a single directory * Increasing Pylint Score * Increasing Pylint score * Restored deleted backend files * Removing backend-new and merging it with backend dir Co-authored-by: Leila Moran <lmmoran@ncsu.edu> Co-authored-by: Emily Tracey <etracey@ncsu.edu> Co-authored-by: peeyush10234 <ptaneja@ncsu.edu>
- Loading branch information
1 parent
9f73113
commit 5c88298
Showing
17 changed files
with
36 additions
and
359 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 +1,12 @@ | ||
FROM python:3.8 | ||
COPY ./requirements.txt /usr/src/app/requirements.txt | ||
WORKDIR /usr/src/app | ||
RUN pip install --upgrade pip | ||
FROM python:3.8.1 | ||
|
||
ENV APP_HOME /app | ||
WORKDIR $APP_HOME | ||
|
||
COPY . /app | ||
WORKDIR /app | ||
RUN pip install -r requirements.txt | ||
COPY . /usr/src/app | ||
EXPOSE 5000 | ||
|
||
ENTRYPOINT ["python"] | ||
CMD ["index.py"] | ||
CMD ["app.py"] | ||
|
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,6 +1,6 @@ | ||
import pymongo | ||
|
||
client = pymongo.MongoClient("mongodb+srv://bot:bot123@cluster0.xph5e.mongodb.net/myFirstDatabase?retryWrites=true&w=majority") | ||
client = pymongo.MongoClient("mongodb+srv://bot:bot123@cluster0.xph5e.mongodb.net/feature-hunt?retryWrites=true&w=majority") | ||
db = client.get_database('feature-hunt') | ||
records = db.users | ||
product_records = db.products |
Oops, something went wrong.