- This repository contains two apps, part of an interview exercise.
- The app is deployed on heroku.
- The database is postgres. I used
sequelizeandsequelize-clito create migrations and seed demo data. - There are tests for each project (albeit only a few), to demonstrate understanding of test suites and how to write testable code.
- The bonus part of the exercise is done by tracking an upload source id (
fingerprintjs), since I did not implement authentication.
The backend app assumes that you have a Postgresql database setup.
You can define configuration in backend/src/database/config/config.json.
Follow README.md files in each folder on how to setup.
If all is setup correctly, you should be able to have both apps (backend and frontend) interacting:
- Start backend with
cd backend && npm start - Start frontend with
cd frontend && npm run serve
The frontend knows how to make api calls to backend from this file: frontend/vue.config.js.