├── README.md ├── .gitignore ├── postcss.config.js ├── nodemon.json ├── tailwind.config.js ├── .babelrc ├── template.js ├── client ├── index.js ├── components │ ├── useSortableData.jsx │ ├── VerificationCode.jsx │ ├── login.jsx │ ├── Signup.jsx │ └── usertable.jsx ├── App.js └── styles.css ├── server ├── models │ └── usersModels.js ├── devBundle.js ├── users.sql ├── routes │ └── api.js ├── server.js └── controllers │ └── usersController.js ├── webpack.config.server.js ├── webpack.config.client.production.js ├── webpack.config.client.js ├── package.json └── output.css /README.md: -------------------------------------------------------------------------------- 1 | # SharkProject# GoblinShark 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | pb_data/ 3 | pocketbase 4 | dist/ -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- 1 | { 2 | "verbose": false, 3 | "watch": [ 4 | "./server" 5 | ], 6 | "exec": "webpack --mode=development --config webpack.config.server.js && node ./dist/server.generated.js" 7 | } -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | module.exports = { 3 | content: [ 4 | "./client/**/*.{js,jsx,ts,tsx,css}", 5 | ], 6 | theme: { 7 | extend: {}, 8 | }, 9 | plugins: [], 10 | } -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@babel/preset-env", 5 | { 6 | "targets": { 7 | "node": "current" 8 | } 9 | } 10 | ], 11 | "@babel/preset-react" 12 | ], 13 | "plugins": [ 14 | "react-hot-loader/babel" 15 | ] 16 | } -------------------------------------------------------------------------------- /template.js: -------------------------------------------------------------------------------- 1 | export default () => { 2 | return ` 3 | 4 |
5 | 6 |Successfully created an invite code!
36 |Anyone with this link can make an account. Only share with Codesmith Residents or Alumni!!!
37 |Verifcation Code: {params.code}
38 |70 | 71 |
72 || requestSort('first_name')}> 98 | 99 | Name 100 | 101 | 102 | 103 | 104 | | 105 |requestSort('cohort_num')}> 106 | 107 | Cohort 108 | 109 | 110 | 111 | 112 | | 113 |requestSort('city')}> 114 | 115 | Location 116 | 117 | 118 | 119 | 120 | | 121 |requestSort('residentOrAlum')}> 122 | 123 | Resident or Alumni 124 | 125 | 126 | 127 | 128 | | 129 |requestSort('employed')}> 130 | 131 | Employment Status 132 | 133 | 134 | 135 | 136 | | 137 |requestSort('employer')}> 138 | 139 | Company 140 | 141 | 142 | 143 | 144 | | 145 |requestSort('salary')}> 146 | 147 | Salary 148 | 149 | 150 | 151 | 152 | | 153 |154 | 155 | Socials 156 | 157 | | 158 |||
|---|---|---|---|---|---|---|---|---|---|
|
164 |
165 |
173 |
166 |
168 |
169 |
172 | {user.first_name + " " + user.last_name}
170 | {user.showemail ? user.email : "Prefer not to share"}
171 | |
174 |
175 | {user.cohort_location}
176 | {user.cohort_num}
177 | |
178 | {user.city} | 179 | {user.resident_alum &&180 | 181 | {user.resident_alum} 182 | 183 | | } 184 | {user.employed &&185 | 186 | Employed 187 | 188 | | } 189 | {!user.employed &&190 | 191 | Searching 192 | 193 | | } 194 |{user.employer} | 195 | {user.showsalary &&{`$${user.salary}`} | } 196 | {!user.showsalary &&{`Private`} | } 197 |198 | {user.linkedin && 199 | LinkedIn, {user.last_name} 200 | } 201 | | 202 |