Skip to content

Instantly share code, notes, and snippets.

@devreena03
devreena03 / agile.md
Last active September 30, 2021 06:18
Agile crash course

Agile model/ Agile methodology / Agile process

It is an iterative and Incremental approch.

Agile Priciples

  1. Customer no need to wait for long time
  2. We develop, test and release peice of software to the customer with few number of features.
  3. we can accept/accomodate requirement changes.

there will be good communication between customer, business analyst, developers and testers.

### Javascript
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("https://jsonmock.hackerrank.com/api/movies?Year=1999", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
// Enable component-scanning and auto-configuration with @SpringBootApplication Annotation
// It combines @Configuration + @ComponentScan + @EnableAutoConfiguration
@SpringBootApplication
public class FooApplication {
public static void main(String[] args) {
// Bootstrap the application
SpringApplication.run(FooApplication.class, args);
}
}
@devreena03
devreena03 / System Design.md
Created August 28, 2021 18:44 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@devreena03
devreena03 / node_nginx_ssl.md
Last active July 7, 2021 01:28 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

referal link to get $100 for 60days https://m.do.co/c/8e86ddbfdc99

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@devreena03
devreena03 / gitdeploy.txt
Last active June 5, 2021 23:54
Git command for static app deployment in github.io
1. merge error/commit merge error
1. i -> enter comment -> esc -> :wq -> enter
1. Deploy a static site in github
repo -> setting -> GitHub Pages -> select the branch -> code will deploy at <yourusername>.github.io/<yourrepo>
import UIKit
//var and const
var str = "Hello, playground, since"
str = "some";
let cons = "hello"
//datatype
var a:Int = 2
var b = 5
@devreena03
devreena03 / devcamper_specs.md
Created October 13, 2020 07:22 — forked from bradtraversy/devcamper_specs.md
Specs for Devcamper Udemy course project

DevCamper Backend API Specifications

Create the backend for a bootcamp directory website. The frontend/UI will be created by another team (future course). The html/css template has been created and can be used as a reference for functionality. All of the functionality below needs to be fully implmented in this project.

Bootcamps

  • List all bootcamps in the database
    • Pagination
    • Select specific fields in result
    • Limit number of results
  • Filter by fields