Practice for the tech assessment by building a full stack app that handles get and post requests.
- FORK! this repo
- Clone the fork to your local machine
- Make branch
- Open pull request to upstream master
- Create an express server
- Add GET request route (/api/cobras) that responds similar to below: [ {id: 1, name: 'bob', db:'sql', frontend: 'jquery'}, {id: 2, name: 'alice', db:'noSql', frontend: 'angular'}, ... ]
- POST request route (/api/cobras
- Create a database connection to a noSQL db (Mongo at mLab recommended)
- Create a database connection to a SQL db (SQLite recommended)
- Create the following frontends
- Vanilla HTML / jquery
- Backbone
- angular
- React
- Each frontend should
- Let the user select the database from which they want to pull (sql or noSql)
- Assign the frontend's type as the 'frontend' property for an object's being submitted
- Render any cobra objects on the database while indicating which db it came from