Skip to content

Instantly share code, notes, and snippets.

@kimprosh
kimprosh / ROBOMONGO-MONGDB-REMOTE-CONNECTION.MD
Created August 6, 2018 01:43 — forked from piraveen/ROBOMONGO-MONGDB-REMOTE-CONNECTION.MD
Setting up RoboMongo to connect with remote MongoDB server (VM, External Server)
@kimprosh
kimprosh / authentication_with_express_postgres.md
Created August 14, 2018 03:13 — forked from laurenfazah/authentication_with_express_postgres.md
Authentication with an Express API and Postgres

Authentication with an Express API and Postgres

Setting Up

Let's make sure our Express app has the required base modules:

# within root of API
npm install --save express pg knex bcrypt
npm install --save-dev nodemon
@kimprosh
kimprosh / index.html
Created August 5, 2019 02:06
SweetAlert AJAX form validation example
<div id="form-template" class="hidden">
<form>
<div class="row">
<div class="col-sm-12">
<input name="username" placeholder="Username" class="swal-content__input" type="text">
</div>
</div>
<div class="row">
<div class="col-sm-12">
<input name="password" placeholder="Password" class="swal-content__input" type="password">