joshjacobbaker / api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server for our Front-End App

Backlog

  • Setup Database PostGreSQL
  • SECURITY.. Need to setup process variables
  • Setup Cache REDIS
  • github push update
  • Kubernetes
  • Deploy rest server... heroku?
  • docker image build workflow in development
  • Express Backend Validator

WIP

  • Setup notifications table
  • Fetch notifications with React Client from Express server api via PostgreSQL

Finished Goods

  • Update Sequelize queries for CRUD operations
  • Setup sequelize PostGreSQL client
  • Sequelize CLI Database Migrations
  • Created an API endpoint that returned JSON data to client
  • Docker Postgresql
  • API endpoint
  • Dockerize Express Server
  • Docker-compose Server, pg, pgadmin

Deployed

Git Commands

NPM Commands

Backend Architecture Schematic

Postgresql

sudo docker run -d --name=postgrescontainer1 -p 5432:5432 -v postgres-volume:/var/lib/postgresql/data -e POSTGRES_PASSWORD=password postgres

sudo docker exec -it postgrescontainer1 psql -U postgres

sudo docker run -d --name=pgadmincontainer1 -p 5050:80 -e "PGADMIN_DEFAULT_EMAIL=user@domain.com" -e "PGADMIN_DEFAULT_PASSWORD=password" dpage/pgadmin4

PostgreSQL values are in single quotes ‘’

About


Languages

Language:JavaScript 98.5%Language:Dockerfile 1.5%