/contacts-snapshot-starter

This repo is a starter project for goal #444

Primary LanguageJavaScript

Summary

A learning project I completed while attending the Learner's Guild Development Bootcamp. The goal was to learn to build a full stack JavaScript application that relies on User Authentication.

Contacts Snapshot starter project

Image of login page

Folder Structure

contacts-snapshot-starter
  ├── package-lock.json
  ├── package.json
  ├── public
  │   ├── script.js
  │   └── style.css
  ├── src
  │   ├── models
  │   │   ├── contacts.js
  │   │   └── db
  │   │       ├── contacts.js
  │   │       ├── db.js
  │   │       ├── login.js
  │   │       ├── schema
  │   │       │   └── schema.sql
  │   │       ├── signup.js
  │   │       └── users.js
  │   ├── server
  │   │   ├── middlewares.js
  │   │   ├── routes
  │   │   │   ├── auth.js
  │   │   │   ├── contacts.js
  │   │   │   └── index.js
  │   │   └── utils.js
  │   ├── server.js
  │   └── views
  │       ├── auth
  │       │   ├── login.ejs
  │       │   └── signup.ejs
  │       ├── common
  │       │   └── not_found.ejs
  │       ├── contacts
  │       │   ├── index.ejs
  │       │   ├── new.ejs
  │       │   └── show.ejs
  │       └── partials
  │           ├── footer.ejs
  │           ├── header.ejs
  │           └── nav.ejs
  └── test
      ├── end-to-end
      │   └── contacts.test.js
      ├── helpers
      │   └── db.js
      ├── integration
      │   └── db
      │       └── contacts.test.js
      └── seed
          ├── contacts.sql
          └── master-admin-user.sql

Dev Setup

  1. Create your database: createdb contacts_development
  2. Load your database with the schema: npm run load_schema
  3. Install your dependencies: npm install
  4. Run the server: nodemon