See the website here (subject to dyno sleeping)
-
GET https://shielded-chamber-18134.herokuapp.com/api/info
Returns number of resumes currently stored in the repository.
-
GET https://shielded-chamber-18134.herokuapp.com/api/pdf
Returns the list of resumes currently available in the repository
-
GET https://shielded-chamber-18134.herokuapp.com/api/pdf/AlexWang
Parameter: file name excluding the extension. (Case sensitive) Fetch an individual pdf stored in the repository. Note this does return the raw binary data, it must be converted.
-
POST https://shielded-chamber-18134.herokuapp.com/upload
Key: resume Value: yourFile.pdf (In form data) Add your resume to your repository for storage. Note that there are no repeats and usage is subject to daily quotas.
-
GET https://shielded-chamber-18134.herokuapp.com/check/AlexWang
Parameter: file name excluding the extension. Replace AlexWang with the PDF file you want to scan for possible spelling mistakes. Returns an array of problematic words. Note the PDF file must have been uploaded already
- Express
- React
- Sass
- Swift
- Heroku
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/AlexWang18/Personal-Website
- Install NPM packages
npm install
In a terminal:
# Initial setup
npm install
# Start the server
npm start
npm install package-name --save
The React app is configured to proxy backend requests to the local Node server. (See "proxy"
config)
In a separate terminal from the API server, start the UI:
# Always change directory, first
cd frontend/
# Initial setup
npm install
# Start the server
npm start