Giter Club home page Giter Club logo

ctp-microblog's Introduction

Blog

Blog created using Node, Express, and PostgreSQL

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisities

Node.js Version 6+ (8+ recommended)

Postgresql Version 9.3+

Running the Blog

  1. Clone this repository to your host computer.
git clone https://github.com/CUNYTechPrep/ctp-microblog.git
  1. Change into the /blog app directory
cd blog
  1. Create a database for the blog (replace DB_USER with your postgres user)
createdb -h localhost -U DB_USER ctpblog_development
  1. Edit the /blog/config/config.json file with corresponding credentials

  2. Run npm install

npm install
  1. Start the application
npm start
  1. See the application by entering this in your web browser address bar
localhost:3000

Running the tests

Coming Soon

Coding Style (Linting)

We use AirBnB JS coding style. You can check whether or not your code is styled properly by checking it using eslint. You must be within your project directory (inside of blog)

./node_modules/.bin/eslint nameOfYourFile.js

or for the entire project:

./node_modules/.bin/eslint .

Built With

  • Node
  • Express
  • Postgres

License

This project is licensed under the MIT License.

ctp-microblog's People

Contributors

donatom avatar medgardo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.