This is the front/back end for the website which student will be able to find old Piazza posts for Systems Programming that have been archived. Using a Mongo, Express, React, Node.js (MERN) stack we will be able to preserve posts that can be of importance to students.
A few a necessities in order to begin working on a local copy:
Heroku CLI
Github CLI
Node.js + CLI
React + React CLI
In a suitable working directory:
1.) git clone
2.) cd piazza-archive-utk && heroku . <- this will set up a heroku instance through your herokue account
2.a.) heroku ps:scale web=0 <- stop heroku instance from launching on the web [optional]
2.b.) heroku ps:scale server=0 <- stop heroku instance from launching server to web [optional]
3.) npm install <- install from package.json
4.) npm run-script start:dev <- run client on port 3000, server on 3001
4. alt) heroku local <- run client on port 5000, server on 3001
Please, abide by the eslint + airbnb preset with the following attributes:
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
}
Heroku handles everything for deployment. To make your changes public please submit a pull request and document your changes, the request then can be evaluated and pulled.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Paul Preston Provins IV - Initial work - 3PIV
See also the list of contributors who participated in this project.
- The Fall 2018 CS360 students, thank you for being patient.