Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback #1

Open
wants to merge 474 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
474 commits
Select commit Hold shift + click to select a range
af6bf43
Merge pull request #134 from software-students-fall2021/Karakas-UniSe…
HuseyinAtacanDemir Nov 9, 2021
afa68b7
update uni service with get by name
mapuya19 Nov 9, 2021
e94d00a
fixed json file paths and added two course service functions
mapuya19 Nov 9, 2021
98e67f9
Wrote the mock setUni function adn getUn uniName
KocKaan Nov 9, 2021
5371164
Merge pull request #139 from software-students-fall2021/mapuya-services
KocKaan Nov 9, 2021
3db3b4d
Merge branch 'master' of https://github.com/software-students-fall202…
KocKaan Nov 9, 2021
2c19de3
Fixed the decriptions
KocKaan Nov 9, 2021
04e9a56
Added course enroleld student and course files
KocKaan Nov 9, 2021
c717c24
added setting course name and adding new student enrolleed
KocKaan Nov 10, 2021
d5a4a9e
added the add new student to course funciton
KocKaan Nov 10, 2021
4cc4568
Added getUni test
KocKaan Nov 10, 2021
9112c5c
get course by id test written
KocKaan Nov 10, 2021
2dd2e8a
Minor bug fixes
KocKaan Nov 10, 2021
8d1f330
Merge pull request #141 from software-students-fall2021/Karakas-UniSe…
KocKaan Nov 10, 2021
0beadb7
Chat Service completed
m4rker11 Nov 12, 2021
f9db505
Mongoose and atlas were added
m4rker11 Nov 12, 2021
72f0988
added a test
HuseyinAtacanDemir Nov 16, 2021
698a19b
Merge pull request #142 from software-students-fall2021/Mongoose-inte…
HuseyinAtacanDemir Nov 16, 2021
aeb0595
edits based on the pr chnages requested
HuseyinAtacanDemir Nov 16, 2021
60f2da9
file service completed
HuseyinAtacanDemir Nov 16, 2021
c7a57a8
100% coverage for fileService
HuseyinAtacanDemir Nov 16, 2021
28a6288
prettier formatted, added sample course comment for ease of development
HuseyinAtacanDemir Nov 16, 2021
ce68ae4
Merge pull request #143 from software-students-fall2021/had287-file-s…
KocKaan Nov 16, 2021
69fb317
added all getters and setters to courseServices
HuseyinAtacanDemir Nov 16, 2021
fd66ed1
added tests for all course service functions
HuseyinAtacanDemir Nov 16, 2021
9b488a5
added new tests
HuseyinAtacanDemir Nov 16, 2021
68f692e
fiinished user service tests with 100% unit coverage
HuseyinAtacanDemir Nov 16, 2021
32dc3fc
Merge pull request #144 from software-students-fall2021/had287-user-s…
KocKaan Nov 16, 2021
7b28de1
Merge pull request #145 from software-students-fall2021/had287-course…
KocKaan Nov 16, 2021
74bfacb
initial edits
HuseyinAtacanDemir Nov 16, 2021
405aad3
changes
HuseyinAtacanDemir Nov 16, 2021
007d683
Merge branch 'master' of https://github.com/software-students-fall202…
HuseyinAtacanDemir Nov 16, 2021
0407bd4
list all unis, list all courses, list all files routes controller and…
HuseyinAtacanDemir Nov 16, 2021
aa7aa6f
working on file details services controllers and routers integration
HuseyinAtacanDemir Nov 16, 2021
56375e3
because of mockaroo data, we cannot properly add user data to the com…
HuseyinAtacanDemir Nov 16, 2021
b532f6f
unis are getting from the backend now
HuseyinAtacanDemir Nov 16, 2021
7976e69
more changes
HuseyinAtacanDemir Nov 16, 2021
bac875f
robust course data sent to frontend
HuseyinAtacanDemir Nov 16, 2021
33a67fa
front end more edits
HuseyinAtacanDemir Nov 17, 2021
ba5699f
Merge pull request #149 from software-students-fall2021/had287-course…
KocKaan Nov 17, 2021
1e2b064
Merge pull request #148 from software-students-fall2021/had287-front-…
KocKaan Nov 17, 2021
7dc6159
Chat service now supports getting and pushing data to and from atlas
m4rker11 Nov 17, 2021
1d0be17
Comment service completed
m4rker11 Nov 17, 2021
aa80a2e
Forgot to comment out old functions
m4rker11 Nov 17, 2021
eda6562
Course Service connected to db
m4rker11 Nov 17, 2021
6820492
forgot the delete comment functions and added some file services to db
m4rker11 Nov 17, 2021
cfc4f7b
sample situations
HuseyinAtacanDemir Nov 18, 2021
3f4b5ef
starter code for chat overhaul
HuseyinAtacanDemir Nov 18, 2021
649db25
adding circle-ci config
bloombar Nov 18, 2021
77727fb
Merge pull request #151 from software-students-fall2021/circleci-setup
bloombar Nov 18, 2021
c402a70
Merge branch 'master' into Mongoose-integration
m4rker11 Nov 19, 2021
f2e4ff3
Merge branch 'master' of https://github.com/software-students-fall202…
jap871 Nov 19, 2021
13ae8d3
Services are done
m4rker11 Nov 20, 2021
343c069
trying to do account page
jap871 Nov 21, 2021
fd4e7a5
user data fetching logic with axios post
HuseyinAtacanDemir Nov 21, 2021
c59bb8e
Co-authored-by: jap871 <[email protected]>
HuseyinAtacanDemir Nov 21, 2021
a87e88f
Co-authored-by: HuseyinAtacanDemir <[email protected].…
jap871 Nov 22, 2021
c4d1233
edit and view page account
jap871 Nov 22, 2021
40c7f4a
seeing if this fixes circle ci
mapuya19 Nov 23, 2021
c656f63
fixed versions
mapuya19 Nov 23, 2021
cce896c
Merge branch 'apuya-fix-tests' into julie-chat-overhaul
mapuya19 Nov 23, 2021
b1b9192
update configs
mapuya19 Nov 23, 2021
167d391
formatting and fix node warnings
mapuya19 Nov 23, 2021
43770c0
front-end readability
mapuya19 Nov 23, 2021
5e3a27a
Merge pull request #155 from software-students-fall2021/julie-chat-ov…
KocKaan Nov 23, 2021
c71b5eb
Merge branch 'master' into Mongoose-integration
m4rker11 Nov 23, 2021
1680e88
services push things to db and pull from it
m4rker11 Nov 23, 2021
23e9ff1
Merge pull request #150 from software-students-fall2021/Mongoose-inte…
KocKaan Nov 23, 2021
54bf0ec
Test refactoring for the database
KocKaan Nov 24, 2021
d2637b5
Added uniService test
KocKaan Nov 24, 2021
d85f6ed
added setUniNmae test
KocKaan Nov 24, 2021
3948ace
Created comment testt
KocKaan Nov 24, 2021
0724071
bug fix
KocKaan Nov 24, 2021
2d5170c
Added chat test
KocKaan Nov 24, 2021
7cf97ef
Merge pull request #156 from software-students-fall2021/Karakas-Datab…
mapuya19 Nov 24, 2021
db37e10
back-end readability and cleared back-end errors
mapuya19 Nov 24, 2021
078ca90
minor fix
KocKaan Nov 24, 2021
7400180
getChatUsers test added
KocKaan Nov 24, 2021
0d24b30
getChat test added
KocKaan Nov 24, 2021
f368b4f
Merge pull request #158 from software-students-fall2021/Karakas-TestA…
mapuya19 Nov 24, 2021
1331b44
Merge branch 'master' of https://github.com/software-students-fall202…
mapuya19 Nov 24, 2021
a04653f
back-end readability and fixed testing suite
mapuya19 Nov 24, 2021
e6d53c7
Merge pull request #157 from software-students-fall2021/apuya-back-en…
KocKaan Nov 24, 2021
6bb967a
chatListUpdates, not showing on screen yet
jap871 Nov 27, 2021
7f61794
chat bubble component works
jap871 Nov 27, 2021
616f695
Co-authored-by: HuseyinAtacanDemir <[email protected].…
jap871 Nov 27, 2021
055b3f4
mongodb mongoose connection refactored, connection bug due to multipl…
HuseyinAtacanDemir Nov 28, 2021
2623c60
changes to login, signup post reqs, validation chnages, env var chang…
HuseyinAtacanDemir Nov 29, 2021
ef4299f
Merge branch 'had287-back-end-mongo-integration' of https://github.co…
jap871 Nov 29, 2021
765fc83
MessageInput - updates, not done
jap871 Nov 29, 2021
f50e747
signup send proper jwt token
HuseyinAtacanDemir Nov 29, 2021
51dee14
duplicate username and email check throw error bug fixed
HuseyinAtacanDemir Nov 29, 2021
a04ed13
login jwt token complete
HuseyinAtacanDemir Nov 29, 2021
213b5e8
refactored jwt expires in to .env file
HuseyinAtacanDemir Nov 29, 2021
673669c
jwt verify service
HuseyinAtacanDemir Nov 29, 2021
d399f50
routes and mvc pattern for signup flow
HuseyinAtacanDemir Nov 30, 2021
907c56a
change admin status function implemented for admin auth users
HuseyinAtacanDemir Nov 30, 2021
147f35a
admin auth check based on jwt
HuseyinAtacanDemir Nov 30, 2021
a6a2538
HuseyinAtacanDemir Nov 30, 2021
adcba46
update user by email or username mongoose function implemented
HuseyinAtacanDemir Nov 30, 2021
6cd6341
update user function implemented mongoose db
HuseyinAtacanDemir Nov 30, 2021
fc4b62b
no more react ci errors
mapuya19 Dec 1, 2021
3d34e7b
Merge pull request #162 from software-students-fall2021/apuya-back-en…
KocKaan Dec 1, 2021
cfab779
update user with obj
HuseyinAtacanDemir Dec 1, 2021
f04a75c
can add and remove from arr values of user obj, can update different …
HuseyinAtacanDemir Dec 1, 2021
8a5de3f
admin router new routes for create course and create uni
HuseyinAtacanDemir Dec 1, 2021
fa2c61a
get_all_unis, get_uni_by_id, create_uni, update_uni_scalar, update_un…
HuseyinAtacanDemir Dec 1, 2021
8d30b9c
uniController and UniService functions with proper error handling and…
HuseyinAtacanDemir Dec 1, 2021
03964b2
changed logic for cross referencing mongodb document updates, made su…
HuseyinAtacanDemir Dec 1, 2021
4accd74
removed tests that we used for the mock data version, new tests that …
HuseyinAtacanDemir Dec 1, 2021
0e38442
tests changed
HuseyinAtacanDemir Dec 1, 2021
38dfe71
Merge branch 'master' of https://github.com/software-students-fall202…
jap871 Dec 2, 2021
f1523ea
course controller, router, services implemented
HuseyinAtacanDemir Dec 2, 2021
6dfc110
create new course side effect: add courseId to relevant uni's uniCourses
HuseyinAtacanDemir Dec 2, 2021
0235cde
chat works, needs to be implemented with mongodb
jap871 Dec 2, 2021
b22102a
user change subscribtion to course and enrollment to uni, code cleaning
HuseyinAtacanDemir Dec 2, 2021
1aaab05
prettier check
HuseyinAtacanDemir Dec 2, 2021
3a2a4b7
mock data in account page
jap871 Dec 2, 2021
4544407
chat and account changes, still working on formatting
jap871 Dec 2, 2021
9696738
file controller logic changed, cross references in file related api e…
HuseyinAtacanDemir Dec 2, 2021
1cfe814
fixes to scrolling chat and editing account
jap871 Dec 2, 2021
3b57bb5
edits for check_jwt not defined err
HuseyinAtacanDemir Dec 3, 2021
569bf9d
awaiting async jwt check funcs, res.json instead of res.send
HuseyinAtacanDemir Dec 6, 2021
e8eb4ce
comments, files, courses, unis, user router controller services finis…
HuseyinAtacanDemir Dec 6, 2021
2ab1edc
style edits with prettier
HuseyinAtacanDemir Dec 6, 2021
9a73a34
testing with postman, resolving bugs
HuseyinAtacanDemir Dec 6, 2021
9a64eee
gridfs multer deps installed
HuseyinAtacanDemir Dec 6, 2021
4fd144e
gridfs and multer integration
HuseyinAtacanDemir Dec 6, 2021
2bbbc35
gridfs upload working
HuseyinAtacanDemir Dec 6, 2021
b4ebfea
tests deleted
HuseyinAtacanDemir Dec 6, 2021
a3af618
tests commented out
HuseyinAtacanDemir Dec 6, 2021
d3e01f2
Merge pull request #164 from software-students-fall2021/had287-back-e…
HuseyinAtacanDemir Dec 6, 2021
b90148b
Merge branch 'master' of https://github.com/software-students-fall202…
jap871 Dec 6, 2021
1d071ae
downgraded mongoose to [email protected] file upload download and delet…
HuseyinAtacanDemir Dec 6, 2021
4d35ec2
merged with master
jap871 Dec 6, 2021
b58e886
Merge pull request #168 from software-students-fall2021/Julie-fronten…
HuseyinAtacanDemir Dec 6, 2021
355eb4d
refactoring gridfs connections to controller
HuseyinAtacanDemir Dec 6, 2021
a6c6897
file meta data and file chunk deletion
HuseyinAtacanDemir Dec 6, 2021
107d35d
prettier edit
HuseyinAtacanDemir Dec 6, 2021
86e8708
removed tests
HuseyinAtacanDemir Dec 6, 2021
9d5654b
commented out tests
HuseyinAtacanDemir Dec 6, 2021
0d9c042
Merge branch 'master' into had287-back-end-gridfs
HuseyinAtacanDemir Dec 6, 2021
3471c5b
Merge pull request #169 from software-students-fall2021/had287-back-e…
HuseyinAtacanDemir Dec 6, 2021
3b6018d
uni course and file addition deletion, chat and messages models refactor
HuseyinAtacanDemir Dec 8, 2021
021c706
comment controller and service and router edits
HuseyinAtacanDemir Dec 8, 2021
a21d193
comments create, update, edit like dislike working
HuseyinAtacanDemir Dec 8, 2021
c6eaeb7
liking already disliked file auto deletes the dislike, and vice versa
HuseyinAtacanDemir Dec 8, 2021
6acb1c0
liking already disliked file auto removes dislike from user and the f…
HuseyinAtacanDemir Dec 8, 2021
ba8fdc5
Merge pull request #172 from software-students-fall2021/had287-file-c…
KocKaan Dec 8, 2021
a94ecd1
chat controller and service prettier
HuseyinAtacanDemir Dec 8, 2021
852c5a7
get chat, create message, like-unlike message done
HuseyinAtacanDemir Dec 8, 2021
6e4c58c
web sockets socket io skeleton
HuseyinAtacanDemir Dec 8, 2021
9553dfd
Created chai mocha for frontend
KocKaan Dec 8, 2021
bd40e6b
Updated the app test file
KocKaan Dec 8, 2021
0bd7c8c
Merge pull request #173 from software-students-fall2021/Kaan-Karaks-F…
mapuya19 Dec 8, 2021
3bf1fbe
srever side fucntions for socket io complete
HuseyinAtacanDemir Dec 8, 2021
6cab98f
socket multiple connections emits correct user data
HuseyinAtacanDemir Dec 8, 2021
e56a80e
message like dislike working
HuseyinAtacanDemir Dec 8, 2021
65b5809
user liked files list on account
jap871 Dec 8, 2021
444b00f
Merge pull request #176 from software-students-fall2021/had287-real-t…
jap871 Dec 8, 2021
e80819d
initial
HuseyinAtacanDemir Dec 8, 2021
9589635
Merge branch 'master' of https://github.com/software-students-fall202…
HuseyinAtacanDemir Dec 8, 2021
13eca63
Added shallow button test
KocKaan Dec 8, 2021
88661c6
ChatBubble exists
KocKaan Dec 8, 2021
4362e40
Comment render test
KocKaan Dec 8, 2021
c53fc17
CommentViewer render test
KocKaan Dec 8, 2021
fa8e62b
FileData renders test
KocKaan Dec 8, 2021
3f63259
Forms renders test
KocKaan Dec 8, 2021
cfc5ac2
GridItem renders tests
KocKaan Dec 9, 2021
3a786d2
Icons renders tests
KocKaan Dec 9, 2021
426d3b4
ListItem render tests
KocKaan Dec 9, 2021
8ba370c
MessageInput render test
KocKaan Dec 9, 2021
d562ffe
Navigations renders test
KocKaan Dec 9, 2021
50ba727
SearchHigherOrder render test
KocKaan Dec 9, 2021
b35e969
UserAvatar renders tests
KocKaan Dec 9, 2021
a179946
Small bug fix
KocKaan Dec 9, 2021
a5679d6
UserDataViewer renders test
KocKaan Dec 9, 2021
14282dd
Merge pull request #177 from software-students-fall2021/Kaan-Karaks-F…
mapuya19 Dec 9, 2021
da676f2
BottomNav render test
KocKaan Dec 9, 2021
a553a74
Breadcrumbs render test
KocKaan Dec 9, 2021
f2e2c9b
PageTitle render test
KocKaan Dec 9, 2021
2627687
PagesLogin div text test
KocKaan Dec 9, 2021
15d20e4
Navigation deleted
KocKaan Dec 9, 2021
e0191e4
ResetPassword div test
KocKaan Dec 9, 2021
762fe4c
SignUp div and render test
KocKaan Dec 9, 2021
b61982d
PagesAddFile label test
KocKaan Dec 9, 2021
320aae9
FilePreview div and render test
KocKaan Dec 9, 2021
d35d001
Merge pull request #178 from software-students-fall2021/Kaan-Karaks-F…
KocKaan Dec 9, 2021
189e141
formatting update
mapuya19 Dec 9, 2021
9a8cf91
Merge pull request #175 from software-students-fall2021/julie-account…
mapuya19 Dec 9, 2021
b3f60cb
fix react warnings
mapuya19 Dec 9, 2021
a64ea08
Merge branch 'apuya-fix-tests' of https://github.com/software-student…
mapuya19 Dec 9, 2021
2e0f366
tests mostly fixed
mapuya19 Dec 9, 2021
d19cc88
update jsdom dependency
mapuya19 Dec 9, 2021
35fabfc
attempt to fix app.test.js
mapuya19 Dec 9, 2021
200f753
more enzyme internal error fixes
mapuya19 Dec 10, 2021
56acae3
Merge pull request #179 from software-students-fall2021/apuya-fix-tests
KocKaan Dec 10, 2021
9bf9188
cors problem solved, axios needs crossdomain true
HuseyinAtacanDemir Dec 10, 2021
5d71e14
setting up global store with context api
HuseyinAtacanDemir Dec 11, 2021
170f83e
context implemented, continuing refactoring
HuseyinAtacanDemir Dec 12, 2021
40028db
file download logic altered to fit the react-doc-viewer standards
HuseyinAtacanDemir Dec 12, 2021
4e182ab
comments are showing
HuseyinAtacanDemir Dec 12, 2021
05d9952
like button for comment and file
HuseyinAtacanDemir Dec 12, 2021
7a0a343
refactoring to with auth and with admin auth, error modal with click …
HuseyinAtacanDemir Dec 12, 2021
bf6b809
react-doc-viewer closing on re-render issue solved with useMemo
HuseyinAtacanDemir Dec 12, 2021
7d0277c
login and signup page edits
HuseyinAtacanDemir Dec 12, 2021
afc0a93
login, auth persistence in memory, will imlement local storage
HuseyinAtacanDemir Dec 12, 2021
ec4964d
userDataViewer n userAvatar edits, logo upload
HuseyinAtacanDemir Dec 12, 2021
d7a694a
account page editable fixes
HuseyinAtacanDemir Dec 12, 2021
f8b0ba3
user avatar image and name update
HuseyinAtacanDemir Dec 13, 2021
d57295e
style changes
HuseyinAtacanDemir Dec 13, 2021
915581e
having a little style overhaul, since server-client state syncing pro…
HuseyinAtacanDemir Dec 13, 2021
ce66382
chat design complete
HuseyinAtacanDemir Dec 13, 2021
0b3cab8
chat component edits
HuseyinAtacanDemir Dec 13, 2021
e38b76f
use effect deps update
HuseyinAtacanDemir Dec 13, 2021
8144614
multiplying event lsiteners solved with abort controller
HuseyinAtacanDemir Dec 13, 2021
d2c7667
chat: auto scroll on first load implemented
HuseyinAtacanDemir Dec 13, 2021
b9d58ea
reafactor and descriptive name changes
HuseyinAtacanDemir Dec 13, 2021
f73f0bf
message input textarea auto grow implemented
HuseyinAtacanDemir Dec 14, 2021
8a26d65
edits
HuseyinAtacanDemir Dec 14, 2021
e201a9c
account page styling and error modal options
HuseyinAtacanDemir Dec 14, 2021
5ef66fa
style changes
HuseyinAtacanDemir Dec 14, 2021
fc7f12f
multi container setup created with docker compose (db, server, client)
HuseyinAtacanDemir Dec 15, 2021
1988027
more styles for the account
HuseyinAtacanDemir Dec 15, 2021
b493336
added comments
HuseyinAtacanDemir Dec 15, 2021
57c97ab
refresh token logic implemented jwt backend
HuseyinAtacanDemir Dec 15, 2021
4280885
prettier
HuseyinAtacanDemir Dec 15, 2021
2615978
refresh token logic implemented in front end
HuseyinAtacanDemir Dec 15, 2021
701fb10
loadıng screen implemented
HuseyinAtacanDemir Dec 15, 2021
611e0e8
logout implemented
HuseyinAtacanDemir Dec 15, 2021
c345e6c
Merge branch 'had287-docker-compose' of https://github.com/software-s…
HuseyinAtacanDemir Dec 15, 2021
0c9eb68
loading edit
HuseyinAtacanDemir Dec 15, 2021
59afcb8
signup implemented
HuseyinAtacanDemir Dec 15, 2021
3c7e9f0
dockerfile edits
HuseyinAtacanDemir Dec 15, 2021
aaeda6f
docker configs
HuseyinAtacanDemir Dec 15, 2021
22bf79a
Update config.yml
HuseyinAtacanDemir Dec 15, 2021
d45a228
Updated config.yml
HuseyinAtacanDemir Dec 15, 2021
7ba6c81
Updated config.yml
HuseyinAtacanDemir Dec 15, 2021
e4f46fc
Merge branch 'master' of https://github.com/software-students-fall202…
HuseyinAtacanDemir Dec 15, 2021
14fe6dc
Merge pull request #182 from software-students-fall2021/had287-loadin…
HuseyinAtacanDemir Dec 15, 2021
bb524c0
changes to urls
HuseyinAtacanDemir Dec 15, 2021
adc4080
Merge pull request #183 from software-students-fall2021/had287-loadin…
HuseyinAtacanDemir Dec 15, 2021
04dc28d
base url change
HuseyinAtacanDemir Dec 15, 2021
505e956
Merge pull request #184 from software-students-fall2021/had287-loadin…
HuseyinAtacanDemir Dec 15, 2021
0731926
satisfying warnings
HuseyinAtacanDemir Dec 16, 2021
bcdb6a5
Merge pull request #185 from software-students-fall2021/had287-loadin…
HuseyinAtacanDemir Dec 16, 2021
11e407a
included presentation video in readme
jap871 Dec 17, 2021
4a30e6b
Merge pull request #186 from software-students-fall2021/jap871-readme
KocKaan Dec 17, 2021
ac7bf49
deployed project
mapuya19 Dec 17, 2021
cd40c24
Merge pull request #187 from software-students-fall2021/readme-update
KocKaan Dec 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1

# Define the jobs we want to run for this project
jobs:
build-and-test-express-js:
docker:
- image: cimg/node:17.2.0 # latest stable node at the time of writing

# auth:
# username: mydockerhub-user
# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout
- run: echo "this is the build and test express.js job"
- run: |
cd back-end
pwd # for debugging: show current working directory
ls # for debugging: show sub-directories in here
- run: |
cd back-end
npm install # install all dependencies listed in package.json
npm test # run all unit tests
build-react-js:
docker:
- image: cimg/node:17.2.0 # latest stable node at the time of writing
# auth:
# username: mydockerhub-user
# password: $DOCKERHUB_PASSWORD # context / project UI env-var reference
steps:
- checkout
- run: echo "this is the build react.js job"
- run: |
cd back-end
pwd # for debugging: show current working directory
ls # for debugging: show sub-directories in here
- run: |
cd front-end
npm config set legacy-peer-deps true # use legacy peer deps for real fix
npm install # install all dependencies listed in package.json
npm run build # have react build the stand-alone front-end code
npm test # run all tests

# Orchestrate our job run sequence
workflows:
build-and-test-back-end:
jobs:
- build-and-test-express-js
build-front-end:
jobs:
- build-react-js
123 changes: 58 additions & 65 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,50 +1,13 @@
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Typical Node.js artifacts #
#############################

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
Expand All @@ -57,11 +20,12 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
Expand All @@ -75,33 +39,26 @@ build/Release

# Dependency directories
node_modules/
**/node_modules/
jspm_packages/
**/jspm_packages

# Results of React build script
build/
**/build/

# React dependencies
.pnp
.pnp.js
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# dotconfig artifacts
.env.local
.env.development.local
.env.test.local
.env.production.local

# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

Expand All @@ -113,14 +70,50 @@ typings/

# dotenv environment variables file
.env
.env.test

# next.js build output
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

## Emacs artefacts ##
*~
# DynamoDB Local files
.dynamodb/

## Jekyll artifacts
**/.jekyll-cache
**/_site/
# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

.vscode

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.DS_Store
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
Loading