├── .github └── FUNDING.yml ├── LICENSE └── README.md /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: shalithasuranga 4 | patreon: shalithasuranga 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 codezri 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LAMG 2 | ### World's cheapest but modern stack for lightweight web apps 3 | 4 | ## What is LAMG? 5 | 6 | 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 targeting application prototyping, pilot apps and for production use cases. 7 | 8 | ## LAMG Components 9 | 10 | **L - AWS Lambda** 11 | 12 | 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. 13 | 14 | **A - Angular** 15 | 16 | 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. 17 | 18 | **M - Mongodb** 19 | 20 | If you need persistant service to store data, LAMG suggests to go ahead with small online Mongodb instance which is free. 21 | 22 | **G - Github** 23 | 24 | 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. 25 | 26 | ## Get started! 27 | 28 | **STEP 1** 29 | 30 | Create a repository on Github and enable pages feature for `gh-pages` branch. 31 | 32 | **STEP 2** 33 | 34 | Create new Angular app and install [angular-cli-ghpages](https://github.com/angular-schule/angular-cli-ghpages) as a global module. 35 | 36 | **STEP 3** 37 | 38 | 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](https://serverless.com/). 39 | 40 | **STEP 4** 41 | 42 | If you need to persist your data signup and get free 512MB instance on [Mongodb cloud](https://www.mongodb.com/cloud/atlas). 43 | 44 | **STEP 5** 45 | 46 | Once everything is set, deploy the client using, 47 | ``` 48 | $ ng deploy --base-href=/the-repositoryname/ 49 | ``` 50 | 51 | ## Example apps built with LAMG stack 52 | 53 | - [movieszri](https://codezri.org/movieszri/) 54 | - Did you build your app with LAMG? Send us a pull request! 55 | 56 | 57 | *P.S: Don't confuse with the word stack which refers on top of like, this solution is very much distributed over monolithic* 58 | --------------------------------------------------------------------------------