Technical test for Silverbullet
- Create a basic web application "RateSilverBullet" in django (or comparable python framework)
- Allow unauthenticated users to give wearesilverbullet.com a review and a score between 1 to 5
- Allow unauthenticated users to sort the reviews by score
- Show an average overall score on screen across all user submissions
- Make it pretty
- Flask PostgresQL backend
- React frontend
- Sass styling
- Material-UI for star ratings
Install Python3 and NodeJS
brew install python3brew install node
Using Homebrew install pipenv and postgresql
brew install pipenvbrew install postgresql
Next create a database called rate_silver_bullet_db in postgresql
createdb rate_silver_bullet_db
Now install the python and node packages
pipenv installnpm install
At this point you will need to add a .env file to the root of the project
- For the
.envcopy and paste the three lines of code below:
FLASK_APP=server/app.py
FLASK_ENV=development
FLASK_SKIP_DOTENV=1
Start server
npm run server
Launch frontend (webpack dev server)
npm run client
Seed data is available
npm run seed