GitXplorerGitXplorer
A

chinook-backend

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
02cd725a9923b478a1919cd264cdd65006b1ec6c

Update README.md

AApra487 committed 3 years ago
Verified
5663ffe4f8b0575c893ff3791652f6d90197c628

Dev (#3)

AApra487 committed 3 years ago
Verified
015546d568f2f8a9b87165f474813323eeb339ff

Update README.md

AApra487 committed 3 years ago
Verified
9ad8df302587a1811dba7e540c46c9b59743164a

Update README.md

AApra487 committed 3 years ago
Verified
4e3b6cea16c6c12fdecde1ebf900c4dca239e66b

Dev (#2)

AApra487 committed 3 years ago
Verified
4d0714489df5b94f6223a8dc0f332b3acf1dee40

Update README.md

AApra487 committed 3 years ago

README

The README file for this repository.

chinook-backend

This is the backend for chinook-web-app app which does basic CRUD functions(only create and read for POC) on PostgreSQL Database and is automatically deployed using Github action to AWS lambda, AWS Api Gateway using serverless framework.

Application Architecture

Screenshot 2022-05-27 at 12 09 09 PM

Features

  • Continous Integration and Deployment using Github Actions.
  • Uses Serverless framework.
  • Uses AWS Lambda + AWS API Gateway + AWS RDS.
  • Does NOT use any ORM framework, only the pg library.

Quick Start

Create a .env file with the following properties:

  • USERNAME: The username of the postgres user.

  • HOST: The connection endpoint of the postgres database.

  • DATABASE: The name of the postgres database.

  • PASSWORD: The password of the postgres database.

  • PORT: The exposed port of the postgres database.

Then run the following command:

npm i
npm start

The api will get exposed at localhost:8001.

Endpoints

  • /api/v1/users GET
  • /api/v1/users POST

Demo

API is hosted here.

Click here for the frontend-repo.