14

LAMG - World's cheapest but modern stack for lightweight web apps

 4 years ago
source link: https://github.com/codezri/lamgstack
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

LAMG

World's cheapest but modern stack for lightweight web apps

What is LAMG?

LAMG (stands for Lambda Angular Mongodb Github) is a full-stack solution which helps you develop or prototype lightweight, maintainable and less-complex web applications. The key goal of LAMG is to offer you a solution stack which has absolutely zero cost specially tartgeting application prototyping, pilot apps or even for production use.

LAMG Components

L - AWS Lambda

Back-end business logic will be implemented in seperate Lambda functions using your favourite programming language(Eg- Javascript). Lambda services will be exposed to outside world via AWS API Gateway.

A - Angular

Front-end of the solution will be implemented with Angular which is very nice framework with all things we need. Feel free to use any kind of UI library such as bootstrap, material etc.

M - Mongodb

If you need persistant service to store data, LAMG suggests to go ahead with online Mongodb instance which is free.

G - Github

Your client will be deployed into Github pages which is abosultely free. Additionally, since it is Github you will have free github.io subdomain, Github actions, source code management services too.

Get started!

STEP 1

Create a repository on Github and enable pages feature for gh-pages branch.

STEP 2

Create new Angular app and install angular-cli-ghpages as a global module.

STEP 3

Sign up with AWS and create lambda functions as you wish. Eventually, make sure to expose those via API gateway. If your backend has multiple functions use Serverless framework .

STEP 4

If you need to persist your data signup and get free 512MB instance on Mongodb cloud .

STEP 5

Once everything is set, deploy the client using,

$ ng deploy --base-href=/the-repositoryname/

Example apps built with LAMG stack

  • movieszri
  • Did you build your app with LAMG? Send us a pull request!

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK