Skip to content

rpt26-fec-pathfinder/tim-review-service

Repository files navigation

FEC - Review Service for Steam

This review service repo is a part of a larger service oriented architecture. Several services own their own data and can only be accessed by the proxy server. Users connections to individual services are routed through the proxy server.

This service manages all data related to user reviews. A relational database is used to hold a reviews table and a users table. A new setup will require seeding a database wtih mock data. A schema.sql file is provided along with a db filling script that can be ran with node.

The react code will require webpack bundling for local development and Grunt for automatic depoyment to an AWS S3 bucket

Docker is used for deoployment of the Express App and MySQL db to an AWS EC2 instance

Table of Contents

  1. Technology
  2. Architecture
  3. Related Projects
  4. Requirements
  5. Installation
  6. Development
  7. Deployment
  8. ReviewApp
  9. Testing

Technology

Untitled presentation (3)

Architecture

FEC (4)

Related Projects

Proxy Server:

Other Services:

Requirements

An nvmrc file is included if using nvm.

  • Node 6.13.0
  • Docker
  • MySQL

Installation

npm Install and database setup / seeding. This will need to be done in all new environments.

1. run "npm install"
2. run "mysql -u root < db/schema.sql" or docker exec into the mysql container and paste in the schema.sql file
3. run "node db/dbFiller.js"

If using docker make sure you are running the db filling script from the correct virtual environment

Development

In seperate dos windows:

$ npm run start-dev
$ npm run react-dev

Deployment

Docker Deployment

From within the root directory:

$ docker-compose up

Grunt / AWS S3 Deployment

For automatic bundle, uglify and upload run:

$ grunt deploy

ReviewApp

The review app uses react and styled components.

Testing

Travis CI is used for continuous development.

Screenshots

Navbar with SSL Encryption

Screen Shot 2021-06-17 at 10 43 46 AM

Image Gallery

Screen Shot 2021-06-29 at 10 17 34 PM

Metadata

119093027-072c3b80-b9c4-11eb-9c14-a8f8c71cdc25

More Like This

119093037-0b585900-b9c4-11eb-8fdf-db1a1f0d4e16

Reviews

119093055-10b5a380-b9c4-11eb-8882-0009ffea45e3

Footer

119093069-14492a80-b9c4-11eb-9289-db3fe175c47f

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages