Skip to content

brandonv98/library-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Manager

A application to store, update, create, delete, and read threw a sequelized && sqlite database.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The dependencies you need to install the software, an how to install them :

  1. NodeJS - As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.

  2. Npm - npm makes it easy for JavaScript developers to share and reuse code, and makes it easy to update the code that you’re sharing, so you can build amazing things.

  3. Express - Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications

  4. Twitter API - Publish and analyze Tweets, optimize ads, and create unique customer experiences.

  5. Twit API - Twitter API Client for node (REST & Streaming API).

  6. pugJS - high-performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers

  7. git - is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

  8. Homebrew - Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

  • Recommended install with brew.
    • past the following into your Terminal
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install nodeJS & npm with brew : past the following into your terminal

$ brew install node
  • After install is complete check install using the following in your terminal.
    For node - node -v this will print out a version number like this v10.6.0.
    Now do the same for npm as followed npm -v output will look something like this 6.2.0.

To learn more please visit - node & npm install.


Installing

A step by step series of examples that tell you how to get a development env running

1. Step One

In your project root dir ('./') use the following command in your terminal.

$ git clone https://github.com/brandonv98/library-manager.git

2. Step Two

Once you have cloned the repo $ cd/library-manager from here type $ npm install to install all of the project dependencies.

3. Step Three

Back in our Terminal run npm start to start our server on localhost:3000.


Deployment

Deployment ready.


Built With

NodeJS - An asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.

Express - minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.

Sequelize - Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.

SQLite3 - SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers and comes bundled inside countless other applications that people use every day.


Errors && Debugging

  • If you have recived the following error stack
  throw new Error(`Please install ${moduleName} package manually`);
  ^
Error: Please install sqlite3 package manually
  • How to fix - use nvm to set node && npm version to, node -v : 11.15.0 && npm -v : 6.7.0.

Authors


License

MIT

This project is licensed under the MIT License - see the LICENSE.md file for details.
Yay Free software!