Ab App screenshot

Ab App

Author Avatar Theme by Gnemtsov
Updated: 11 Nov 2018
10 Stars

AWS serverless app boilerplate (API Gateway edition) :rocket:

Overview

AB-APP is an AWS serverless boilerplate application that can be used as a starting point for creating your own applications. It is built using bit, allowing users to not only use the entire application but also make use of specific parts of it. AB-APP is a fictional site based on the novel “Monday Begins on Saturday” and exposes a list of institute departments for authenticated users. Users can also add and edit departments.

Features

  • Authentication using JWT tokens: Allows users to authenticate using JWT tokens and implements token refresh functionality.
  • Tables for viewing data: Provides tables with pagination, row selection, sorting, and CSV export functionality to view data.
  • Forms for adding and editing data: Includes forms with live validation that ensures consistent validation between the backend and frontend.

Installation

To install AB-APP for local development, follow these steps:

  1. Install a database (MariaDB), Node.js, NPM, docker, aws-sam-cli, and Redux DevTools extension.
  2. Git clone or download the project source.
  3. Run npm install in the root folder, as well as the frontend and backend folders.
  4. Import mysql.dump.sql into your MariaDB instance.
  5. Create a file named .env in the backend folder and add the following content (replacing DB_HOST with the IP of your local DB instance):
DB_HOST=<your_db_host>
  1. Create a user named abapp with the password abapp in your mysql.user table and give appropriate rights to allow the lambda function to connect and work with your database.

Summary

AB-APP is an AWS serverless boilerplate application that serves as a starting point for creating applications. It includes features such as authentication using JWT tokens, tables for viewing data, and forms for adding and editing data. The application is still under development and documentation may be outdated.