https://github.com/schulzetenberg/data-collector
Data collection app for my personal website
https://github.com/schulzetenberg/data-collector
fuelly goodreads lastfm material-ui nodejs react rest-api spotify trakt typescript
Last synced: 3 months ago
JSON representation
Data collection app for my personal website
- Host: GitHub
- URL: https://github.com/schulzetenberg/data-collector
- Owner: schulzetenberg
- Created: 2015-11-07T05:46:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-26T04:32:43.000Z (almost 2 years ago)
- Last Synced: 2025-09-30T22:57:07.043Z (9 months ago)
- Topics: fuelly, goodreads, lastfm, material-ui, nodejs, react, rest-api, spotify, trakt, typescript
- Language: JavaScript
- Homepage: http://data.schulzetenberg.com
- Size: 10.5 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Data Collector Web App
### Built with Express, MongoDB, & React, deployed to Google Cloud 🚀
Features
-------
- Local Authentication using Email and Password
- Material UI
- **Account Management**
- Profile picture
- Profile Details
- Change Password
- Forgot Password
- Reset Password
- Delete Account
- **Security**
- Secure cookies
Requirements
-------
Node (Tested on v16)
MongoDB (Tested on v5)
Install
-------
After installing Node.js:
```console
$ npm i
$ npm i -g nodemon
$ npm i -g forever
```
Run
-------
$ npm run start
Sign Up
-------
Signing up is currently locked down to admin@1.com to prevent multiple users
Deployment on Google Cloud Platform - Compute
--------
See this [link](https://cloud.google.com/community/tutorials/deploy-mean-app-mongodb-replication) for instructions setting up a MEAN application on Google Cloud
Re-deploy on GCP
--------
- Run build script from frontend/package.json
- Create a build.zip file & upload to a new Github release
- SSH into the GCP VM
```console
$ sudo su - bitnami
$ cd /home/bitnami/apps/collector/htdocs/
$ git pull
Download build.zip from https://github.com/schulzetenberg/data-collector/releases & unzip to frontend/ (the index.html path should be ~/apps/collector/htdocs/frontend/build/index.html)
$ cd ..
$ ./start-data-collector.sh
```
Agenda Scheduler
--------
http://localhost:3000/agenda/
Run Locally (Backend)
--------
- $ npm i
- $ npm run start
- Express server will start on localhost:3000
Run Locally (Frontend)
--------
- $ npm i
- $ npm run build (first time only)
- $ npm run start
- Local web server will start & open webpage to localhost:8999, with a proxy to the backend server on port 3000