Skip to content

CourageSDC/questions_answersAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Questions & Answers API

An accelerated Back-end RESTful API framework for questions and asnswers data, to enhance user experience for the Atelier e-commerce shop.

Accomplishments

Accomplished using 4 AWS t2.micros instances

  • Provided low latency requests (<100ms) with a 0.0% error rate under a 1000 rps over 1 minute requirement.
  • Stress tested each endpoint of the questions and answers microservice and achieved...
  • Used loader.io to identify bottlenecking
  • Utilized NGINX for load balancing and caching

How to Use

npm install

npm run server-dev

  • To load on a localhost, you will need to create a '.env' file that contains the following:
PGUSER= <user>
PGPASSWORD= <password>
PGHOST=localhost
PGDATABASE= <database_name>
PGPORT=5432
  • To load on a AWS instance, your '.env' file should contain the following:
AUTH_TOKEN= <GitHub Token>
PGUSER= <user> 
PGPASSWORD= <password>
PGHOST= <URL>
PGDATABASE= <database_name>
PGPORT=5432

Tech Stack

JavaScript NodeJS Express.js Postgres Jest NPM Git

Deployment

Nginx AWS

Creator - Peter McBride

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published